I want to change the color of a particular row in jQgrid/treeGrid. can anyone share the code for that?
Asked
Active
Viewed 1,148 times
1 Answers
0
It works exactly like with other jqGrids. Look at the answer. With respect of addClass('...')
to <tr>
elements the background color can be changed.
-
I am not defining any
in my code. I am using rowid in my code. can you help me? – manish987654321 Jul 19 '11 at 05:22 -
@manish987654321: grid rows will be represented as HTML `
` (table row) elements. If you has `rowid` of the row, which choler you want change, `$('#'+rowid).addClass('myAltRowClass');` – Oleg Jul 19 '11 at 05:27