Forum
July 12th, 2025
A
A
A
Topic RSS
Offline
The forums are currently locked and only available for read only access
Topic RSS
My JQ Grid looks messy (pictures and code inside)
29/06/2010
13:21
13:21
yonatann
New Member
Members
Forum Posts: 2
Member Since:
31/01/2009
31/01/2009
OfflineHi,
I'm using JQGrid to build a sharepoint web part (should that matter), the client browser is IE6, I've worked step by step with
Wiki documentation, everything works fine expect:
1. The grid headers and rows are not aligned (see image attached, the language is Hebrew)
2. The are no scroll bar on the side but some empty space.
Any idea why? Thanks in advanced.
Image:
[Image Can Not Be Found]
Code:
function setJQGrid(data, gridName, scrollerName) {
$("#" + gridName).jqGrid(
{
datatype: 'xmlstring',
datastr: data,
colNames: ['כותרת', 'החלטה', 'הערות', 'מוקצה ל-', '×”×©×ª× ×”'],
colModel: [
{ name: 'taskTitle', index: 'taskTitle', align: 'right', fixed: true },
{ name: 'taskDecision', index: 'taskDecision', sortable: false, align: 'right', fixed: true },
{ name: 'taskComment', index: 'taskComment', sortable: false, align: 'right', fixed: true },
{ name: 'taskAssignedTo', index: 'taskAssignedTo', align: 'right', fixed: true },
{ name: 'taskModified', index: 'taskModified', align: 'right', fixed: true }
],
pager: $("#" + scrollerName),
rowList: [10, 20, 30],
sortname: 'id',
async: false,
xmlReader: {
root: "ArrayOfChangeRequestListItemInfo",
row: "changeRequestListItemInfo",
page: "changeRequestListItemInfos>page",
total: "changeRequestListItemInfos>total",
records: "changeRequestListItemInfos>records",
repeatitems: false,
id: "id"
},
sortname: 'Id',
viewrecords: true,
sortorder: "desc",
imgPath: 'images'
});
$("#" + gridName).jqGrid(
{
datatype: 'xmlstring',
datastr: data,
colNames: ['כותרת', 'החלטה', 'הערות', 'מוקצה ל-', '×”×©×ª× ×”'],
colModel: [
{ name: 'taskTitle', index: 'taskTitle', align: 'right', fixed: true },
{ name: 'taskDecision', index: 'taskDecision', sortable: false, align: 'right', fixed: true },
{ name: 'taskComment', index: 'taskComment', sortable: false, align: 'right', fixed: true },
{ name: 'taskAssignedTo', index: 'taskAssignedTo', align: 'right', fixed: true },
{ name: 'taskModified', index: 'taskModified', align: 'right', fixed: true }
],
pager: $("#" + scrollerName),
rowList: [10, 20, 30],
sortname: 'id',
async: false,
xmlReader: {
root: "ArrayOfChangeRequestListItemInfo",
row: "changeRequestListItemInfo",
page: "changeRequestListItemInfos>page",
total: "changeRequestListItemInfos>total",
records: "changeRequestListItemInfos>records",
repeatitems: false,
id: "id"
},
sortname: 'Id',
viewrecords: true,
sortorder: "desc",
imgPath: 'images'
});
}
Forum Timezone: Europe/Sofia
Most Users Ever Online: 994
Currently Online:
18 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
Log In
Home