Hi,
I'm having issues sorting a Grid groupped by default.
The thing is that I have a Grid groupped by Department (The grid displays all users within the company). Inside that grouping I want to apply a custom sort order (I have a numeric Order field) but it does not happen.
If I'm not groupping by default the users appear correctly, but when I apply a groupby expression
it applies an unkown order, my datasource is an SQL and i've tried to apply my custom sort using the "Order By" clause in the "Select".
What I'm doing wrong?
I'm having issues sorting a Grid groupped by default.
The thing is that I have a Grid groupped by Department (The grid displays all users within the company). Inside that grouping I want to apply a custom sort order (I have a numeric Order field) but it does not happen.
If I'm not groupping by default the users appear correctly, but when I apply a groupby expression
<
GroupByExpressions
>
<
telerik:GridGroupByExpression
>
<
SelectFields
>
<
telerik:GridGroupByField
FieldAlias
=
"Departamento"
FieldName
=
"Departamento"
FormatString
=
"{0}"
> </
telerik:GridGroupByField
>
</
SelectFields
>
<
GroupByFields
>
<
telerik:GridGroupByField
FieldName
=
"Departamento"
SortOrder
=
"Ascending"
></
telerik:GridGroupByField
>
</
GroupByFields
>
</
telerik:GridGroupByExpression
>
</
GroupByExpressions
>
it applies an unkown order, my datasource is an SQL and i've tried to apply my custom sort using the "Order By" clause in the "Select".
What I'm doing wrong?