Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
Question about altRows Propety
21/04/2009
03:03
Avatar
SharonMalam
Member
Members
Forum Posts: 3
Member Since:
21/04/2009
sp_UserOfflineSmall Offline

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',

altRows: true,



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.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
46 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.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information