How to establish initial value #select_filter?

Hello.

This code has changed only the name, but sorting has not occurred.



mygrid.load (url, function () {mygrid.hdr.getElementsByTagName (“SELECT”) [0].value = “Forex”;}, “csv”);



Other code which you have given, kills all table and it ceases to work. In my table constant values are known is “Forex” (2 column) and “EURUSD” (3 column). It is impossible to put them instead of empty fields which arise at page loading? That sorting was at once on these values…


Please, try to use filterByAll() method after setting the default value to filter grid:


mygrid.load (url,function(){


mygrid.hdr.getElementsByTagName (“SELECT”) [0].value = “Forex”;


mygrid.filterByAll();


},“csv”);