I would like the columns of my child bands to line up with the parent band.
For example, so
+ A col1 col2 col3
B col1 col2 col 3
becomes
B col1 col2 col3
I have managed to get this working with 2 bands by setting the indentation to 0. However, when I have more than 2 bands and set the indentation to 0, only the first 2 bands are displayed. Any idea why this might be or what I need to do to get the desired effect?
I have also tried setting the indentation style to flat, but this seems to make the child bands appear a fraction to the left of the parent.
Hello,
This is normal behavior of Hierarchical WebGrid. Your second nesting level (the first nested grid) is also hierarchical, meaning that the first column will be dedicated to the master-detail view (expand/collapse icon), therefore it will be positioned like that. This is not related to additional padding being added for the nested grid.
I hope this helps.
Thanks for your response, but I'm not sure that I understand.
Is there anyway to have a hierarchical grid with multiple bands without any indentation, i.e. so the columns of each band line up exactly with the columns of the parent?