Forum
Topic RSS
15:10
02/01/2009
OfflineAfter 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%'
});
},
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.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66
Log In
Home