Forum
17:00
15/09/2012
Hello ,
this code is a sample to demostrate the scrolling rtl isnt working as should in IE8
the columns arent sync with header when scrolled right to left
in ie 10 and firefox it works good
please help
here is my code:
javascript
$(document).ready(function ()
{
var data =
{
"page": "1", "records": "3",
"rows": [ { Name: "Name 1", "PackageCode": "83123a" ,highscholl:"milton1",a:"aaa1",b:"bbb1",c:"ccc1"},
{ Name: "Name 3", "PackageCode": "83432a", highscholl: "milton2", a: "aaa2", b: "bbb2", c: "ccc2" },
{ Name: "Name 2", "PackageCode": "83566a", highscholl: "milton3", a: "aaa3", b: "bbb3", c: "ccc3" } ] },
grid = $("#packages");
grid.jqGrid({
colModel: [ { name: 'PackageCode', index: 'PackageCode', width: 200 },
{ name: 'Name', index: 'Name', width: 200 },
{ name: 'highscholl', index: 'highscholl', width: 200 },
{ name: 'a', index: 'a', width: 200 },
{ name: 'b', index: 'b', width: 200 }, { name: 'c', index: 'c', width: 200 } ],
pager: '#packagePager',
viewrecords: true,
height: 'auto',
scroll: true,
altRows: true,
autowidth: false,
forceFit: false,
shrinkToFit: false,
multiselect: true,
direction:"rtl",
datatype: "local",
width:280,
data: data.rows,
rowNum: 3,
caption: "Packages",
height: "auto",
ignoreCase: true });
grid.jqGrid('navGrid', '#packagePager', { add: false, edit: false, del: false }); });
and in the body
<table id="packages">
</table>
<div id="packagePager"> </div>
11:16
Moderators
30/10/2007
Hello,
It is very difficult for me to install IE8, since I do not have such one. Will try instead, but I do not promiese.
Regards
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:
34 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