Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Client Side ListGrid data filtering

    Hi All,

    I think this question might have been asked earlier and i did forum search but could not find out an answer so asking it again.

    I have a list grid and data in this list grid is fetched from server. I want to enable client side filtering on this list grid.

    Filtereditor causes fetchData call to server and i don't want that as i already have complete data. I tried below:

    Code:
    var criteria = {
    			rsi : "71",		
    			classType : "3"
    		 };
    			
     
    	var d = wrlsApResultGrid.data.applyFilter(wrlsApResultGrid.data ,criteria);	
    //alert(wrlsApResultGrid.data.allRowsCached() ); returns true
    	//wrlsApResultGrid.setData(d); here d is empty so not working
    	wrlsApResultGrid.data.setCriteria(criteria);
    Can you please guide me to know how to filter data on clientside.

    Regards,
    Argopm.
Working...
X