Search code examples
smartgwt

Smartgwt Listgrid Filter Issues


I am facing a ListGrid filter issues. The problem i am facing is when i apply any filter on the ListGrid to edit any ListGridRecord that edited records just get removed as soon as i removed filtered text from the filter of the listgrid.

When i try to get the records from the listgrid after removing filter manually as well as automatically by using listgrid.clearCriteria(). then, all my changes get removed. Hope i am able to make sense. This is the heck i am facing for while a time. If u need to know any further detail then please let me know. Thanks in Advance


Solution

  • I Found out the solution to this problem. actually when i remove the filtered text from the listgrid then listgrid tries to fetch the data from the server by default. by setting property setDataFetchMode(FetchMode.LOCAL) prevent the listgrid fetching the data from the server when u removed the filtered text. Thanks to all who provide assistance to me.