if code is this:
Me.GroupByAreaLocation = Infragistics.Windows.DataPresenter.GroupByAreaLocation.None
Me.FieldLayouts(0).Fields("NO").Settings.LabelClickAction = LabelClickAction.Nothing
whatever I click the header "NO" the sort icon will not appear
Me.GroupByAreaLocation = Infragistics.Windows.DataPresenter.GroupByAreaLocation.AboveDataArea
When I open the groupArea and drag header "NO" to GroupArea the sort icon will appear in header "NO"
It's a bug?
Hello fanhoucheng,
The grouping functionality of the XamDataGrid relies on Sorting functionality to display the records in groups. Even though the sorting functionality will remain enabled to support GroupBy, you could modify the default style and customize the ControlTemplate of the LabelPresenter to hide the SortIndicator of the Label by setting its Visibility to Hidden.
For more information on accessing our default styles, please see this documentation:
http://help.infragistics.com/Help/NetAdvantage/WPF/2009.2/CLR3.5/html/WPF_Working_with_xamDataGrid_xamDataCarousel_xamDataPresenter_Styling_Points.html