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
After adding a row checker column to the webgrid, adding a new row causes a scripting error. I have two columns in my webgrid, a text and a webcombo column. The error is children.0.checked is null or not an object. How do I get rid of this error?
This issue has been fixed in WebGrid 7 for the next hotfix, the workaround described in the previous post will not be needed using the next hotfix.
In the scenario of RowChecker feature and WebGrid with AddNew feature enabled, you will need to implement the OnRowValidate client side event to resolve this issue.Here is the snippet of the OnRowValidate client side event, in this snippet the RowChecker column is located in column position 1 of the WebGrid:
function WebGrid1_OnRowValidate(rowObject){ rowObject.childNodes[1].innerHTML = '<input class="DefChkBox" type="checkbox" rowchecker="1" hidefocus="hideFocus"/>'; return true;}
This works fine if there is no child table. However, if I add a child table the error occurs again even with the client rowValidate script.
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