jquery - Change only jqGrid Subgrid header styles -


i've jqgrid , grid subgrid. want have different header style (say background color) subgrid.

i've tried change .ui-jqgrid-htable,.ui-widget-header classes,but it's impacting both main grid , subgrid headers.

how can change subgrid header styles?

enter image description here

you can set background css style on .ui-jqgrid .subgrid-data .ui-th-column example overwrite default background image , background color used in column headers.

for example the following demo remove default background image , set yellow background color respect of following css

.ui-jqgrid .subgrid-data .ui-th-column { background: yellow } 

the results on picture below

enter image description here

updated: 1 can consider remove column headers subgrid @ all. interesting example in case when subgrid have 1 column (one can use autowidth: true option in subgrid additionally) or in case when subgrid have the same column headers main grid. see the answer more information.


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -