I have problem get sorting working. Code is below:
<telerik:RadGrid ID="RadGridList" runat="server" AutoGenerateColumns="false" AllowSorting="true" AllowPaging="true" PageSize="20" ShowGroupPanel="true" AllowFilteringByColumn="true">
<GroupingSettings ShowUnGroupButton="true" />
<MasterTableView GroupLoadMode="Client" TableLayout="Fixed" EnableGroupsExpandAll="true" AllowCustomSorting="true">
<GroupByExpressions>
<telerik:GridGroupByExpression>
<SelectFields>
<telerik:GridGroupByField FieldAlias="Name" FieldName="Name" />
</SelectFields>
<GroupByFields>
<telerik:GridGroupByField FieldName="Name" SortOrder="Descending" />
</GroupByFields>
</telerik:GridGroupByExpression>
</GroupByExpressions>
<Columns>
<telerik:GridBoundColumn DataField="Name" HeaderText="Name" AllowSorting="true"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Id" HeaderText="ID"></telerik:GridBoundColumn>
</Columns>
</MasterTableView>
<GroupingSettings ShowUnGroupButton="true" />
<ClientSettings AllowDragToGroup="true">
<Selecting AllowRowSelect="true" />
</ClientSettings>
</telerik:RadGrid>
Sorting in GroupByExpression tag does work. The column sorting doesn't work. Any idea is appreciated!
<telerik:RadGrid ID="RadGridList" runat="server" AutoGenerateColumns="false" AllowSorting="true" AllowPaging="true" PageSize="20" ShowGroupPanel="true" AllowFilteringByColumn="true">
<GroupingSettings ShowUnGroupButton="true" />
<MasterTableView GroupLoadMode="Client" TableLayout="Fixed" EnableGroupsExpandAll="true" AllowCustomSorting="true">
<GroupByExpressions>
<telerik:GridGroupByExpression>
<SelectFields>
<telerik:GridGroupByField FieldAlias="Name" FieldName="Name" />
</SelectFields>
<GroupByFields>
<telerik:GridGroupByField FieldName="Name" SortOrder="Descending" />
</GroupByFields>
</telerik:GridGroupByExpression>
</GroupByExpressions>
<Columns>
<telerik:GridBoundColumn DataField="Name" HeaderText="Name" AllowSorting="true"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Id" HeaderText="ID"></telerik:GridBoundColumn>
</Columns>
</MasterTableView>
<GroupingSettings ShowUnGroupButton="true" />
<ClientSettings AllowDragToGroup="true">
<Selecting AllowRowSelect="true" />
</ClientSettings>
</telerik:RadGrid>
Sorting in GroupByExpression tag does work. The column sorting doesn't work. Any idea is appreciated!