#select_filter and filterBy question

Hi.



I’m using mygrid.filterBy to filter some data. However, the #select_filter checkbox is not selected with the current filtered value.



How can I fix this ?


The changes of #select_filter cause filtering in grid, but there is no backward behavior - applying fitlerBy method to grid directly, will not change state of grid filters.


You can try to access and change state of object directly through DOM
grid.hrd.rows[2].cells[3].getElementsByTagName(“SELECT”)[0].value=some;
where 2 and 3 index of header row and column, where input placed




Thank you for the fast answer!

However, i grid.hrd is undefined. ( grid is the name of my grid )


Sorry, was a my typo. The correct command will be


grid.hdr.rows[2].cells[3].getElementsByTagName(“SELECT”)[0].value=some;


grid.hdr - the HTML object of grid’s header