How to maintain the #select_filter state?

I want to main the #select_filter state after the row update or add new row…

first im going to filter the grid using 3rd column…

AS per 3rd column value and row id done the update the rows…

if i click the grid row the new window will open with row id and 3rd column of
grid value…(see 2nd img)

in that window click the update button it will go to tpl file for reload the grid page…
In that situation i want to maintain the state of #select_filter.(see 3nd img)

currently after the reload the index page, #select_filter will be empty…

instead of that want to maintain the filter state…

Help me…

thanks in advance…






You can refresh options in #select_filter with refreshFilters() method

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…
Im in under pressure… its very urgent…