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
1320
UltraCombo with an embedded UltraWinGrid aligning the header SortIndicators
posted

Hello,

I use an UltraCombo with an UltraDataSource. There was no UltraWinGrid created with the Visual Studio designer on this form.

Everything works as I like but I don’t find out how the SortIndicators in the embedded UltraWinGrid headers can be set to right align.
They are all in a center position as we can see in the image. (marked red)

It looks like that I have to access the hidden UltraWinGrid and then set the right property. 
Over an UltraGridColumn object I can only set the sorting order to ascending or descending.

UltraCombo BibCombo;
UltraGridColumn hBibColumn = BibCombo.DisplayLayout.Bands[0].Columns[c_KeyBib];
hBibColumn.SortIndicator = SortIndicator.Ascending;

Does anybody know the name of the desired property or method is and how to get access to it?

Thank you very much!

regards Frank

Parents
No Data
Reply
  • 23930
    Offline posted

    Hi Frank,

    Thank you for posting in our forums.

    By default the sort indicators appear on the right side in the header, not in the middle like is your case and I don’t think there is a build-in property with which you can change this. So there must be some custom modification that causes this. Do you use Creation or Draw filer interfaces in your sample? Can you reproduce this in a separate sample and send it to me. I will be glad to research this further for you once I have the sample.

    Thank you for your collaboration.

    I am looking forward to your reply

Children