Hi,
I am newbie. When I am using Listgrid and Datasource (mapped to a table).
I use :
to fetch ALL rows from the table.
After a certain event, I want to display certain rows from the table (let's say rows whose type="square").
I use ListGrid.fetchData and criteria to achieve all this and it's not a problem so far by following the sample examples.
However, I found that if the ListGrid is drawn, the criteria is somehow forgotten. The ListGrid is re-drawn if I click on an entry in the ListGrid or if the ListGrid isn't displayed onscreen yet when when I set the criteria.
How do I make the ListGrid remember the criteria that was set?
Thanks.
I am newbie. When I am using Listgrid and Datasource (mapped to a table).
I use :
Code:
setDataURL("xxxx/enrolments");
After a certain event, I want to display certain rows from the table (let's say rows whose type="square").
I use ListGrid.fetchData and criteria to achieve all this and it's not a problem so far by following the sample examples.
However, I found that if the ListGrid is drawn, the criteria is somehow forgotten. The ListGrid is re-drawn if I click on an entry in the ListGrid or if the ListGrid isn't displayed onscreen yet when when I set the criteria.
How do I make the ListGrid remember the criteria that was set?
Thanks.
Comment