Forum
Topic RSS
16:21
09/02/2011
OfflineI am using this map to generate Grid:
{
url: data.url+"?"+parameters,
datatype: data.datatype,
colNames: data.colNames,
colModel: data.colModel,
rowNum: data.rowNum,
rowTotal: data.rowTotal,
rowList: data.rowList,
loadonce: true,
sortable: true,
rownumbers: true,
pager: '#pcrud',
sortname: data.sortname,
viewrecords: data.viewrecords,
sortorder: data.sortorder,
editurl: data.editurl+"?"+parameters,
caption: data.caption,
height:"100%",
multiselect:false,
altRows:true,
grouping: true,
groupingView: {
groupField : [groupBy],
groupColumnShow : [false],
groupText : ['<b>{0} - {1} Record(s) </b>'],
groupCollapse : false,
groupOrder: ['asc'],
groupSummary : [true],
groupDataSorted : true
},
footerrow: true,
userDataOnFooter: true,
toppager: true,
subGrid:true,
subGridUrl: 'subgrid.php?q=2',
subGridModel: [{ name : ['No','Item','Qty','Unit','Line Total'], width : [55,200,80,80,80] }],
subGridRowExpanded: function(subgrid_id, row_id) {alert('Called row expanded');},
subGridRowColapsed: function(subgrid_id, row_id) {alert('Called row collapsed');}
};
Everything is fine, except that I am not able to see any trace of subGrid. Neither the + button nor any alerts. I certainly need
multiselect, loadonce, sortable options. I toggled all these, evven then nothing for subGrid happened.
Can somebody please help me here...?
Thanks!
Gautam
Most Users Ever Online: 994
Currently Online:
11 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