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
835
Can I change the Band order?
posted

I've got a dataset with the following relations:

1) Top

1.1) Related Table 1

1.2) Related Table 2

1.2.1) Related Table 2.1

1.2.1) Related Table 2.2...

I'd like to show the Related Table 1 (1.1) as the first band under the top band, but the designer forces it below 2.1. Can I change the order programmatically?

Thanks.

 

 

 

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

    Hi,

    SAbady said:
    I'd like to show the Related Table 1 (1.1) as the first band under the top band, but the designer forces it below 2.1. Can I change the order programmatically?

    You lost me here. What is "2.1"?

    You can control the order of sibling bands in the grid using the SortIndex property on the band.

    So, for example, if you want 1.2 to appear above 1.1, then you could set the SortIndex in each band to any values you want as long as the value you assign to the 1.2 band are lower than the value you assign to the 1.1 band.

Children