Forum

July 10th, 2011
You must be logged in to post Login Register

Search Forums:


 






Misaligned Columns in Grid

No Tags
UserPost

15:02
09/07/2012


dartmanx

New Member

posts 1

Post edited 15:13 – 09/07/2012 by dartmanx


The TLDR: The first column of my grid is misaligned, and it looks like the second might be as well.

Details:

This is my first attempt to use jqGrid, and I seem to have a width issue. The first column is wider than the header, which seems to push everything farther and farther to the right.

Here's an extract of the jqGrid setup (which is tucked into a jquery $(document).ready() function).

  jQuery('#dataTable').jqGrid({
   url:'/retain/reviewSoldierStatus/dataTable.html',
   datatype:"json",
   colNames:['Process','Res Date','OPT',(other headings)],
   colModel:[
    {name:'Process',index:'Process',width: 80, classes:'border'},
    {name:'Res Date',index:'Res Date', width: '75', classes:'border'}, // etc

 ],
width: 600,

// etc });

Any ideas?

No Tags

About the jQuery Grid Plugin – jqGrid forum

Most Users Ever Online:

157


Currently Online:

61 Guests

Forum Stats:

Groups: 1

Forums: 7

Topics: 9656

Posts: 28942

Membership:

There are 10350 Members

There have been 448 Guests

There is 1 Admin

There are 2 Moderators

Top Posters:

OlegK – 1167

markw65 – 179

kobruleht – 144

phicarre – 126

YamilBracho – 124

Renso – 118

Administrators: admin (56 Posts)

Moderators: tony (7043 Posts), Rumen[Trirand] (81 Posts)




Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information