Hi all,
I have a ListGrid that I fetch regarding a criteria (different categories); when I select another category, the list change regarding this category. It works.
This category is declared in my datasource in XML like this:
I want to provide the possibility to add new records, but regarding the category. This means that I use listGrid.startEditingNew(), and the category should be automatically filled in, as it is a hidden field.
Obviously, the filled-in category id should be the current filtering category.
This automatic fill-in doesn't work. Does anyone have an idea?
I use SmartGwt Pro 2.4.
I have a ListGrid that I fetch regarding a criteria (different categories); when I select another category, the list change regarding this category. It works.
This category is declared in my datasource in XML like this:
Code:
<field name="CUSTOMER_ID" type="number" foreignKey="NGD_CUSTOMER.CUSTOMER_ID" />
Obviously, the filled-in category id should be the current filtering category.
This automatic fill-in doesn't work. Does anyone have an idea?
I use SmartGwt Pro 2.4.
Comment