Home › Forums › Guriddo jqGrid JS › Help › How to change subgrid header background color
Hello,
I tried to change the subgrid header background color from blue to grey. I tried to configure themes\basic\grid.css but it does not work.
Look in the CSS carfully. There are items for the subgrid where you can play with this. It should work.
Regards
Tony
I found the css and it worked! Thanks!
Maggie
Maggie, can you post your findings here so others can learn from it? 🙂
Thanks
I use the css file /themes/basic/grid.css. There is a section for subgrid.
Hello Corrado,
The table that contain the header is created dynamically, so the class scrollSubgrid is not added.
You can do this diffrent ways, One possible solution:
Hi,
with the following bold correction
$('.grid_hdiv table:first', '#'+row_id + ' + tr').addClass(“scrollSubgrid”);
subgrids have different style.
Many thanks.
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS