iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
I want to be able to auto expand child rows BUT i also need to call grid.refresh from time to time. This code works until grid.refresh is called. The OnRowSelect fires while refreshing and blows up at the ExpandChildRow(). (See error at the bottom). Is there a property I can query first?
function wginstapps_OnRowSelect(controlId, tblName, rowIndex, rowEl) { var grid = ISGetObject(controlId); var selObj = grid.GetSelectedObject(); var row = selObj.GetRowObject(); if (row.Table.ChildTables.length > 0) { if (row.ChildExpanded) { row.CollapseChildRow(); // collapse child row } else { row.ExpandChildRow(); // expand child row } } return true; }
This is where the null error:
m63329:function(v3dc13) { var vc1093 =v3dc13.parentElement
v3dc13 is null.
You’re only need to add “true” parameter to CollapseChildRow() method or ExpandChildRow() method. Example :
selectedRowObj.CollapseChildRow(true); selectedRowObj.ExpandChildRow(true);
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname