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
3914
Bands not sorted in UltraGridColumnChooser
posted

Hi,

I have a multi band (hierarchical) Grid Data where say for example the bands are as follows Top Down:

Row1-Band0 : Band1, Band2, Band3

Row2-Band0 : Band4, Band5, Band6

Now, I sort the only Visible column in Band0, and Visually the bands display as follows:

Row2-Band0 : Band4, Band5, Band6

Row1-Band0 : Band1, Band2, Band3

Now Open the column chooser, you will notice that it displays Bands in the first mentioned order Band0, Band1, Band2, Band3, Band4, Band5, Band6

and not in the after column-sort-order Band0, Band4, Band5, Band6, Band1, Band2, Band3.

I added a print statement in AfterSortChangeEvent to check the Band VisiblePosition ... this was 0 - UNSET.

Although, Visually it seems to look like the bands have been sorted, the band VisualPosition/SortedIndex have not changed and hence UltraColumnChooser displays bands in the old order.

Is this a bug or designed that way. Is there a workaround without having to manually set the band's VisiblePosition.

Thanks

Sangeetha