We had override filterData method to write some custom code before filter happens, i.e, when filter happens in the grid we need to clear the preview pane, It was working fine but after we have changed library in March, its not working.
Infact, when clicking on filter button of filter editor of listgrid, fetchdata is invoked directly but I can not override fetchData as I don't know from where and when it is invoked.
I read other posts having same issue but you have asked them to use dataFetchMode for getting data from server everytime but I have some other tasks like I mentioned before. Moreover, I am using dataProperties :{ fetchMode: "paged"} and after a while it stops going to server, actually when it has less records then dataPageSize, it stops going to server. I remember, it was also working fine some time back.
Please let me know how do I implement custom code before I perform filter.
Thanks,
Ashish Chugh.
Infact, when clicking on filter button of filter editor of listgrid, fetchdata is invoked directly but I can not override fetchData as I don't know from where and when it is invoked.
I read other posts having same issue but you have asked them to use dataFetchMode for getting data from server everytime but I have some other tasks like I mentioned before. Moreover, I am using dataProperties :{ fetchMode: "paged"} and after a while it stops going to server, actually when it has less records then dataPageSize, it stops going to server. I remember, it was also working fine some time back.
Please let me know how do I implement custom code before I perform filter.
Thanks,
Ashish Chugh.
Comment