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
645
How to change Band Index on Multiple-Band Grid?
posted

Hi, together,

I have three tables in my dataset "myDs".

one parent table T1 and two child tables Ta, and Tb.

So there are two relations in this dataset:

Relation 1: T1 => Ta

Relation 2: T1 => Tb

If I set

myUltraGrid.DataSource = myDs;

then it shows:

Band 0: T1

Band 1: Ta

Band 2: Tb

so well all correct!

But my question is:

how can I change the band index, so that I can get the following result:

Band 0: T1

Band 1: Tb

Band 2: Ta

Many thanks in advance!

P.S. It works, if I add the Relation 2 (T1 => Tb) at first into dataset, then add the Relation 1 (T1 => Ta)

but can we use any method, such like: myUltraGrid.DisplayLayout.Band[1].VisibleIndex = 0?

 

 

 

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

    Hi,

    The grid gets the order of the bands from the BindingManager and there is currently no way to change the order within the grid. 

    The good news is that this feature will be added to the grid in NetAdvantage 2009 vol. 1. :)

Children