Forum


02:18

22/05/2009

Hi,
I have a large table which has horizontal and vertical scrollbars. The table's header and body are not aligned when I scroll to the end of the table as you can see by the following image:
I have the correct alignment when:
- I filter my rows reducing the height of the table, this makes the vertical scroolbar disappear
- or I add padding-right:18px to the last th cell
What can I do to solve this problem?
Thanks.
05:49

Moderators
30/10/2007

Hello,
This is one of the bugs in 3.4 version. Also I recommend you to switch to 3.5, where this behaviour is corrected.
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.
11:47

I have the same problem. I'm using jqGrid 3.5.2 and jquery-ui 1.7.2. I'm a newbie so maybe it is obvious but I've looked around and can't figure it out.
Here is my code,
url:'ts.php',
datatype: 'xml',
mtype: 'GET',
colNames:['Name', 'Website','Price','Pay Timing','Price Guarantee', 'Privacy Policy'],
colModel :[
{name:'name', index:'name', width:350},
{name:'web_site', index:'web_site', width:300, formatter:'showlink'},
{name:'price', index:'price', formatter:'currency', width:100, align:'right'},
{name:'pay_timing', index:'pay_timing', width:100},
{name:'price_g', index:'low_price_guarantee', width:100},
{name:'privacy_policy', index:'privacy_policy', width:100}
],
pager: '#pager',
rowNum:25,
scroll: true,
sortname: 'name',
sortorder: 'asc',
multiselect: true,
caption: 'Traffic Schools',
//width: 728,
//height: 500,
//rowList:[10,20,30],
//viewrecords: true
});
[Image Can Not Be Found]
Most Users Ever Online: 715
Currently Online:
44 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