How to set selected value in a #select_filter

Hi all,
I have been trying to set the selected value in a #select filter on load, with no success, Is there a way of accessing the header to do that??. I need to set a initial value because of I am doing a custom filter on load using filterBy().

Thanks anyway

You can achieve it by getFilterElement() method.

var filterObject=mygrid.getFilterElement(colInd); filterObject.value="needed value";