Forum
15:08
11/10/2008
This is something I've not seen before. A new grid/page I created refuses to align the heading with the data rows below it:
http://gotodon.net/test/prospe.....s.php.html
That's a 'static' look at the page (not able at this time to setup and load the associated database for you to see it live.
This is my first shot at a 3.4.x grid, so maybe I've missed a new option or otherwise configured something wrong?
Only in firefox does it look wrong. IE is just fine.
15:19
11/10/2008
By the way, this is the grid code:
$(thisGrid).jqGrid(
{
url:'prospect_get.php',
datatype: "json",
colNames:[ 'Pid', 'Area', 'City', 'Update', 'rrif', 'Min $', 'Max $', 'bedroom', 'Bath' ],
colModel:[ {name:'pid', index:'pid'},
{name:'area', index:'area'},
{name:'City', index:'indicated_city'},
{name:'Update',index:'updated', formatter: 'date', formatoptions: {srcformat: 'Y-m-d',newformat: 'm/d/Y'}},
{name:'rrif', index:'rrif'},
{name:'price_from', index:'price_from'},
{name:'price_to',index:'price_to'},
{name:'bedroom', index:'bedroom'},
{name:'bath', index:'bath'}
],
rowNum:25,
imgpath: gridimgpath,
sortname: 'updated',
viewrecords: true,
sortorder: "desc",
multiselect: false,
loadonce: false,
forceFit: true,
expandColumn: 'bath',
width: 1000,
height: 400,
hidegrid: false,
recordtext: 'Prospects',
caption: gridtitle,
pager: $(".prospect-pager")
});
}
15:53
11/10/2008
Never fails - give up and ask for help and the answer presents itself. I compared my grid to the demo and determined the class 'scroll' was the missing piece.
Further, I discovered that if my grid/pager are defined by a class instead of an id, that does not work. So I had to declare my grid with
id='abc' class='scroll'
instead of
'class abc scroll'
I expected the latter would work fine, but does not.
Most Users Ever Online: 715
Currently Online:
52 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