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
Hello.
I would like to know which rows are expanded in a grid. I have searched properties in wedgrid.Rootable.rows (0) but not property that can be, and I suspect that all are false. Use LoadOnDemand. Thank you very much.
Agustin.
Hello Agustin,
For now, we don't have special method about that. Only property. You will need to loop the first row until the last row and check the property if it is expanded or not.
grid.RootTable.GetRow(i).ChildExpanded;
Btw, thanks for your posting in here. However, for the next time issue, could you please post your questions in our new forum? We'll answer your questions there. http://www.intersoftpt.com/CommunityRegards,Handy
Regards,Handy
Yes, that property will always return false. It is not a bug but it is as designed. This property is only used for setter, not to get. So, you can only get the info from client side for now. The code which I gave you at beginning, has already showed that. If you want, you can submit feature request in our Developer Network >> My Community Center >> Product Feedback tab, and our development team will check the possibilities to enhance this feature.
Agustin, you can try to use grid.RootTable.Rows[0].Expanded property to determine whether a row is expanded or not.
The value of this property also depends on when it's accessed. It might not be available in AJAX context for built-in data operations.
Do you access it in Page_Load after a full postback or in initial load?
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