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
950
Size of the hierarchical level indent
posted

Hi, I need to be able to resize RowLayout band when column header is resized in synch with other bands. I got it working for the most parts but need to know how to get size of the level indent in hierarchical grids

Also what's the best way to figure out what's the indent level of a band is i.e. is it a child, grand child, grand-grand-grand child of Band 0

Parents
No Data
Reply
  • 69832
    Offline posted

    UltraGridBand exposes an Indentation property, which is -1 by default. If you query the property and it returns that value, you can assume the default, whatever that is (I don't see an IndentationResolved property so I don't think the resolved value is exposed anywhere.

    UltraGridBand also exposes an Index property, so you can determine its "level" using this property, i.e., the zero-level band is the root band, Bands[1] is its child, etc.

Children