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
690
Is there any way to not show the sorted icon for a column?
posted

In a xamDataGrid I have a very narrow column - with a very small width - the label header is one character, something like "$".

When the user sorts by that column, an arrow appears indicating the sort order.  We do not want to increase the column width just for the sorted icon.

Is there any way to not show the sorted icon for this column?

Parents
  • 69686
    posted

    Hello,

    Yes, you can do that by removing the SortIndicator from the style of the LabelPresenter or  removing the triggers for the Visibility of the Sort Indicator. You can see the default style for the LabelPresenter in the DefaultStyles folder in the Infragistics directory on your computer.

    Hope this helps,

    Alex.

Reply Children