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
130
Band alignment
posted

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

+  A  col1  col2   col3

    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.

Parents
  • 7694
    posted

    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. 

Reply Children
No Data