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
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
Dear Dimitar, Thank you for your quick answer. I do have application styling in my project and if I deactivate the application styling the SortIndicators are on the right side. If I use the application style file “Office2010Blue.isl” instead of “MainFormAppStile.isl” then the SortIndicators are also at the right side.
So it must be the application style file “MainFormAppStile.isl” who does create this behavior. At the moment I didn’t find out how to correct the “MainFormAppStile.isl” for getting the SortIndicators at the right side.
All other UltraWinGrids created with the Visual Studio designer and with this “MainFormAppStile.isl” application style file do display their SortIndicators at the right side.
Maybe you can see in the file “MainFormAppStile.isl” what can be done in this particular case.I have attached both “*.isl” files.
Best regardsFrank