Hi,
Im looking to rename column names in jqGrid dynamically.
The issue I have is that the same datafield is used on three columns in my table. These are all XML fields that I will deserialize to show the relevant values.
This is the javascript that I have generated:
1 2 3 |
$('#dataGrid').jqGrid('setLabel','XMLDetails', 'Dem', {'background':''});<br /> $('#dataGrid').jqGrid('setLabel','XMLDetails', 'FRA', {'background':''});<br /> $('#dataGrid').jqGrid('setLabel','XMLDetails', 'EOL', {'background':''}); |
It currently sets the first XML column to 'EOL'
I've tried using jsonmap without much success.
I was thinking I could use something like a jquery each function, but I havent a clue where to start.
Any ideas would be much appreciated.
Thanks.
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top