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
Changing version 3.4.2 to 3.5.3 Subgrid as Grid stops working.
10/09/2009
15:10
Avatar
RobGMiller
Member
Members
Forum Posts: 42
Member Since:
02/01/2009
sp_UserOfflineSmall Offline

After upgrading to 3.5.3 from 3.4.2 the Subgrid stopped working. There is no response when the new column containing the + is clicked. 

The following is the code used to set it up. 

I noticed that the class=scroll is not needed with the UI compatibility of version 3.5.3 perhaps this is a clue.

If someone can tell me which function gets fired when the + (for subform expansion) is clicked I might be able to trace around a bit. 

subGrid: true,

subGridRowExpanded: function(subgrid_id, row_id) {

     var subgrid_table_id, pager_id;

     subgrid_table_id = subgrid_id + "_t";

     pager_id = "p_" + subgrid_table_id;

    var DRID = $("#ETSMonth").getCell(row_id, 'DRID');

    var WOID = $('#ETSMonth').getCell(row_id, 'WOID');

    $("#" + subgrid_id).html("<table id='" + subgrid_table_id + "' class='scroll'></table>");

    $("#" + subgrid_table_id).jqGrid({

    mtype: 'POST',

    url: "WSSubGridGetDFSA.aspx", //need a way to pass DRID on initial post

    datatype: "json",

     colModel: [{ label: "Comment", name: "Comment", index: "Comment", width: 1100, editable: true, edittype: "text",      editoptions: { size: 165, maxlength: 250 }, align: 'left' }, ],

     imgpath: "themes/coffee/images",

     postData: { 'UserName': UserName, 'ClientId': ClientId, 'DRID': DRID },

     beforeEditCell: function(rowid, celname, value, iRow, iCol) { return checkApprovedforSubGrid(CurrentRowId); },

     cellEdit: true,

     cellsubmit: 'clientArray',

     cellurl: "WSSubGridSetDFSA.aspx",

     afterSaveCell: function(rowid, celname, value, iRow, iCol) { saveComment(row_id, value, DRID, WOID); }, 

     height: '100%'

    });

},

10/09/2009
17:32
Avatar
RobGMiller
Member
Members
Forum Posts: 42
Member Since:
02/01/2009
sp_UserOfflineSmall Offline

Please ignore this issue. I've worked it out.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 994

Currently Online:
36 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