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 am currently working with a hierarchial grid using VirtualLoad and LoadOnDemand. Currently the RootTable is being used to input a single change, and apply that change in mass to the children of that row. I am currently setting a flag in a 0 width column to indicate that when the row is expanded, the changes need to be applied, and am evaluating it with client script using the OnChildRowExpand event.
The problem I am running into is that when that event is fired, the child rows still havent been loaded, and as such I can't perform the changes to the data. I am using webGrid1.GetSelectedObject().ToRowObject() to get the row, and it appears to be correct, but the code seems to hang whenever I attempt to use the ExpandChildRow commands to attempt to generate the child records of the row to perform the logical operations on. Am I missing a command, mis-read an example, using the wrong event? Any help with this would be appreciated.
(In case it is relevant, there are three tables. RootTable has ChildTable1 for children, and ChildTable1 has ChildTable2 for children.)
Just found a workaround for this issue. I started using the OnChildRowExpand event in co-ordination with the OnResponse event so that I can evalute the grid for rows that need to be evaluated/re-calculated in the OnResponse event, after they have been tagged by the OnChildRowExpand event. (OnAfterChildRowExpand might be a nice event to have in the future since its kind of awkward to work with two seperate ones.)
I haven't been able to come up with much in regards to this event, so if you have any information in regards to it, I would be more than appreciative.
Thanks.
I’m willing to advise you further but in order to do so I would need you to elaborate on your specific scenario. I enclosed a simple sample of hierarchical WebGrid with virtual load paging and load on demand enabled. There are three tables: Customers, Orders, and OrderDetails.
Please make any necessary changes to the sample so that it replicates the problem and possibly give me a step by step guide that I can use to observe the problematic behavior.
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