Forum
03:03
21/04/2009
Hello All,
I created a JQGrid and i want to use the altRows property which create a "zebra" effect on the grid rows.
I wrote the code bellow:
$('#tblParams').jqGrid({
datatype: 'local',
height: 400,
width: 740,
colNames: [
'ParamID', '’˜ÂŠ', '‘…‚ š’˜‰“', '’˜‰‹„'],
colModel: [
{ name:
'ParamID', index: 'ParamID', width: 90, key: true, resizable: false, hidden: true},
name:
'ParamName', index: 'ParamName', width: 90, resizable: false},
{ name:
'ParamValue', index: 'ParamValue', width: 90, key: true, resizable: false},
{ name:
'Edit', index: 'Edit', width: 50, resizable: false, formatter: 'link'}],
imgpath: '../JS/jqGrid/themes/iPost/images',
viewrecords: false,
onCellSelect: function(rowid, iCol, cellcontent)
{}
});
As you can see in the mark line i wrote altRows: true
but my grid is not change and all the lines are with the same color.
Can someone help me please with this problem?
Thanks.
06:08
Moderators
30/10/2007
Hello,
If this is a 3.5 version this is not supported due to missing implementation of altRows in UI Theme roller.
Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
01:38
Moderators
30/10/2007
Hello,
Will see what I can do. Best Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
Most Users Ever Online: 715
Currently Online:
61 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66