Hey,
I have a small question:
Is there a way to show a field sort indicator(The Up/Down arrow) without sorting the data.
I'm using dataview binded to xamDataGrid1.Datasource that i sort manually using:
DV.Sort = "Name asc".
(xamDataGrid 2008 Vol1 & 2)
tx
Hello,
If you want the SortIndicator to be visible even if not sorted, you need to create a style for the LabelPresenter and set the visibility of the sort indicator to Visible. You can see the default style of the LabelPresenter( and all the default styles of all the components) in the DefaultStyles folder in the Infragistics directory on your computer.
The style looks like this:
<Style TargetType="{x:Type igDP:LabelPresenter}">
....
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type igDP:LabelPresenter}">
<igWindows:SortIndicator
x:Name="SortIndicator"
Visibility="Visible" />
...
Hope this helps,
Alex.
I don't want to overwrite the entire template. How do I just set the style on the sortindicator to make it visible.