Is there a "simple/elegant" way to set one of the column headers (all others can be constant) of a jqGrid subgrid based on a value of one of the cells from the row it's detailing from the main grid?
Asked
Active
Viewed 854 times
1 Answers
1
Not sure if there is an event you can hook into when the subgrid gets displayed, but it appears it's possible to change the column label with the following:
jQuery("#grid1").jqGrid('setLabel', 0, 'NewLabel');
Taken from: https://stackoverflow.com/a/4448454/109456

Community
- 1
- 1

Matt Klinker
- 773
- 5
- 18
-
I'm really looking for a way to do this at the creation if at all possible. – Prethen Oct 05 '12 at 16:12