Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
516
Customizing rowFilter Button
posted

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.

Parents
No Data
Reply
  • 335
    posted

    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';

            }

    }

     

     

     

Children
No Data