Forum
16:19
09/11/2010
I am having a problem with TreeGrid Adjacency with Json data. I'm sending in Json 23 rows but the Tree only shows 20.
Is this a bug or a feature? I already read the documentation and didn't find anything about it and also found this http://stackoverflow.com/quest..... with someone with the same problem.
17:28
23/07/2010
There is a option. By default Jqgrid shows only 20 lines. But you can change with this option
rowNum:20
For example :
jQuery("#tab").jqGrid({
data: mydata,
datatype: "local",
height: 600,
colNames:[
'id',
'<bean:message key="baws.callReport.date" />',
'<bean:message key="baws.callReport.entretien" />',
'<bean:message key="baws.callReport.gestionnaire" />',
'<bean:message key="baws.callReport.gestionnaire" />',
'<bean:message key="baws.callReport.gestionnaire" />'],
colModel:[
{name:'id',index:'id', width:60, hidden:true},
{name:'dateEnt',index:'dateEnt', width:150, editable:true},
{name:'entretien',index:'entretien', width:150 ,editable:true},
{name:'client',index:'client', width:150, editable:true},
{name:'gestionnaire',index:'gestionnaire', width:250, editable:true},
{name:'cleAudit',index:'cleAudit', width:250, hidden:true}
],
grouping: true,
toolbar: [true,"top"],
ondblClickRow: function(rowId) {
var cle = $('#tab').jqGrid('getCell', rowId, 'cleAudit');
var url = "<html:rewrite forward='detailCallReport' />&cleAudit=" + cle
window.location = url
},
caption: "Manipulating Array Data",
pager: '#ptab',
pgbuttons:true, // Bouton de changement de page
pginput:true, // Input de changement de page
rowNum:25,
editurl: "server.php"
});
Most Users Ever Online: 715
Currently Online:
37 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