Forum

July 12th, 2025
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
Unable to see subGrid
09/02/2011
16:21
Avatar
sonig
india
Member
Members
Forum Posts: 3
Member Since:
09/02/2011
sp_UserOfflineSmall Offline

I 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

09/02/2011
16:22
Avatar
sonig
india
Member
Members
Forum Posts: 3
Member Since:
09/02/2011
sp_UserOfflineSmall Offline

Also, when I used firebug, I couldnt see any calls back for subgrid.. it's dead for subgrid.

10/02/2011
08:42
Avatar
sonig
india
Member
Members
Forum Posts: 3
Member Since:
09/02/2011
sp_UserOfflineSmall Offline

Got it... it's groupby that's culprit

Forum Timezone: Europe/Sofia

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.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information