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 need to know if the chiltable into webgrid has some data, In this possible to know that with visual studio code?
Thanks in advance.
Hello,
Yes it is possible. Perhaps you could use GetChildRows() method to know whether the row have a child table or not.Here’s the snippet example code how to use GetChildRows() method:
<script language="javascript" type="text/javascript"> function expandChildRow() { var grid = ISGetObject("WebGrid1"); var selObj = grid.GetSelectedObject(); if (selObj == null) { alert("Please select a row"); return; } else { var row = selObj.GetRowObject(); if (!row.ChildExpanded) { //Expand the child row row.ExpandChildRow(true); //Get child rows var childRows = row.GetChildRows(); //If the row have child rows if (childRows) alert("This row have child rows!"); //If the row doesn't have child rows else alert("This row doesn't have any child rows!"); } else alert("Row already expanded!"); } } </script>
Hope this helps. Thank you.
Regards,Hans.
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