maintain the #select_filter state on page reload....

i used the below code for maintain the filter state after reload the page…

mygrid.loadXML("get.php",function(){ var filter_value=mygrid.getFilterElement(2).value; mygrid.getFilterElement(2).value=filter_value; mygrid.filterByAll(); });

But its not filtering after reload… plz help me…

sorry for asking the same question again…

This happens because of “filter_value” is empty after you reload page. You should store filter value before reload page