Hi, I'm looking for a way to set the color of the rowfilter button, both for a column that has an active filter and one that does not have an active filter.
I've looked all over, but can't seem to find the right property.
You can try grid’s client side InitializeLayout event in following way. Grid_InitializeLayout(gridName) { var grid = igtbl_getGridById(gridName); var filterRow = grid.Rows.getFilterRow(); for(i = 0; i < filterRow.Band.Columns.length; i++) { filterRow.getCell(i).Element.childNodes[0].style.backgroundColor = 'green'; } }
You can try grid’s client side InitializeLayout event in following way.
Grid_InitializeLayout(gridName)
{
var grid = igtbl_getGridById(gridName);
var filterRow = grid.Rows.getFilterRow();
for(i = 0; i < filterRow.Band.Columns.length; i++)
filterRow.getCell(i).Element.childNodes[0].style.backgroundColor = 'green';
}