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
grid.GetSelectedObject().ToRowObject().GetCell('CONTACT_ID').SetValue(wcDivision.Value, true); grid.GetSelectedObject().ToRowObject().GetCell('CONTACT_ID')SetValue(wcDivision.Value);
Hello,
I am sorry for the inconvenience. This issue occurs due to the WebGrid can’t get the object of column/cell that you hide.
I have workaround that you might try.
I made simple WebGrid sample and bind to access data source (Northwind.mdb database and Shippers table).In my sample, I hide the CompanyName column through javascript code (in window onload).
I also add two buttons to the page sample.
The first button is to set new value in CompanyName column.Before I set the new value to CompanyName column, I show the CompanyName that I hide in window onload.This step is to get the object from CompanyName column.After that, I hide the CompanyName once again.
The second button is to get the CompanyName value.
Please kindly have review on my sample and let me know your response.
Regards,Hans.
Thanks for your Sample Hans.
I cant use
WebGrid1.RootTable.Columns.GetNamedItem("CompanyName").Show();
because the Contact_ID is in the second childTable. The Roottable has 3 childTables.
Region(RootTable) ->City(ChildTable) -> Building(ChildTable: HERE IS the CONTACT_ID) ....
How can i access that column?
I tried
grid.RootTable.ChildTables[0].ChildTables[1].Columns.GetNamedItem("CONTACT_ID").Show();
but i does not work. What iam doing wrong?
I am sorry for the inconvenience and I sorry for the late response.
I made simple hierarchical WebGrid and try to show the column of child tables.But unfortunately, I can’t show/hide the child table’s column as well.
If you wish to, I will forward this scenario to the developer team as a feature request.
Thank you for your understanding.
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