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
335
Order ChildBands alphabetically by Band.Key?
posted

Hi everyone,

I have a hierachical DataSource where a UltraGridBand can have several childs. I display the names of the childs in the header via the Key property of a Band. Now my question: Is it possible to order the childbands alphabetically using the Keys? I know that I can sort rows in a band, but I'm not sure if I can sort childbands by their name.

 

greetings

Renelope

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi Renelope,

    There's no sorting functionality for child bands, but you can control the order of sibling child bands in the grid using the SortedIndex property on the band. So set SortedIndex to 0 for the band you want to display first, then set it to 1 for the next band and so on.

Children