Forum
Topic RSS
04:02
03/09/2009
OfflineHi,
For some reason the grid only loads 21 records, though the records returned from the server are more.
Below is the javacript script I have used.
Thanks in advance
jQuery(document).ready(function() {
var str = document.getElementById("<%= some.ClientID %>").value
jQuery("#GridView").jqGrid({
url : 'Default.ashx?IID=' + str,
datatype: 'xml',
mtype: 'GET',
height: 700,
width : 600,
colNames: ['Fe', 'Be', 'Ms', 'Cd'
],
colModel: [
{ name: 'Fe', index: 'Fe', width: 175 },
{ name: 'Be', index: 'Be', width: 150 },
{ name: 'Ms', index: 'Ms', width: 80, sortable: false },
{ name: 'Cd', index: 'Cd', width: 100, align: "right" },
],
multiselect:true,
caption: "Some captions"
});
}
);
05:20
03/09/2009
Offlinemasoodalam said:
Had to set the rowNum to some large value.....
It works now.
Is there a way where we can se the rowNum programmatically..
Hi,
For some reason the grid only loads 21 records, though the records returned from the server are more.
Below is the javacript script I have used.
Thanks in advance
jQuery(document).ready(function() {
var str = document.getElementById(”<%= some.ClientID %>”).value
jQuery(”#GridView”).jqGrid({
url : 'Default.ashx?IID=' + str,
datatype: 'xml',
mtype: 'GET',
height: 700,
width : 600,
colNames: ['Fe', 'Be', 'Ms', 'Cd'
],
colModel: [
{ name: 'Fe', index: 'Fe', width: 175 },
{ name: 'Be', index: 'Be', width: 150 },
{ name: 'Ms', index: 'Ms', width: 80, sortable: false },
{ name: 'Cd', index: 'Cd', width: 100, align: "right" },],
multiselect:true,
caption: “Some captions”});
}
);
Most Users Ever Online: 994
Currently Online:
27 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
Log In
Home