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
Nevermind - found what I was looking for...ContainerGrid has a Level property.