Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
165
Is Row.Level not set when RowIslandsPopulating is called?
posted

Hello,

I'm attempting to set up a WebHierarchicalDataGrid with 3 levels of data, where the data are loaded manually.

Following the example from the help file, I hooked up an event handler to the OnRowIslandsPopulating event and wired into InitializeBand to set EnableEmptyRowIslands to true as well as InitializeRow to set IsEmptyParent to true.  Everything works well for loading Level 2 data manually (only the top level data are loaded initially, and I can manully load the Level 2 data when a row is expanded from Level 1).  However, when I click expand on one of the rows in Level 2, e.Row.Level has a value of 0 in the OnRowIslandsPopulating event handler rather than the expected value of 1.

I'm unable to determine which backend method to call to load data without knowing which level is being populated.  Is RowLevel available when loading data manually?  Is there something I may need to set to when wiring up the RowIsland for Level 2 to get the level populated correctly?

Thanks for any assistance,

jerry

Parents
No Data
Reply Children
No Data