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
I don't want to overwrite the entire template. How do I just set the style on the sortindicator to make it visible.
Hello,
You can find samples in the XamFeatureBrowser. It is installed together with our products. There you can find basic sample showing the basic functionalities of the controls as well as advanced techniques.
Hope this helps.
Hi
I am new to this field. Can you please tell me where can I find an example for XamDataPresenter with sorting and grouping.
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.