Grid Fiter

I am trying to use the grid filter.
mappingRepGrid.setHeader(“Mapping Report Partner(s),#cspan,#cspan,#cspan,#cspan,#cspan”);
mappingRepGrid.attachHeader(“Select Partner,Be Geo Id,Partner Name,Theater,Country”);
mappingRepGrid.attachHeader(",#text_filter,#text_filter,#combo_filter,#combo_filter");

Individual filters are working fine but my requirement is when select the theater the country filter combo box should only have the countries for the selected theater. Currently the data in the grid is filtering fine based on my theater selection but the country filter combo box has all the country values.

Thanks
Kiran.

It can be done with custom filter in the header. You can add custom element and filter grid using filterBy() method.

I am new if you could provide more details then it would be of great help.

Something like

[code]function myfilter(select){
grid.filterBy(1, select.value);
};

mappingRepGrid.attachHeader(",12, …[/code]

a) normal html select in header
b) custom code called from onchage
c) grid.filterBy used to filter grid