This is a migrated thread and some comments may be shown as answers.

Header Context Filter Menu ignoring SortExpression

1 Answer 53 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Steven
Top achievements
Rank 1
Steven asked on 14 Nov 2012, 04:46 PM
I have a grid where several columns sort on a sortexpression that is not the same as the datafield. If I click the column the sort cycles ascending, descding, no sort correctly and sorts on the field defined in the sortexpression. If I chose the ascending or descending sort options from the Context Header Menu, the colum sorts on the datafield. Is there a way to make the sort from the Filter Menu use the sortexpression field?

1 Answer, 1 is accepted

Sort by
0
Angel Petrov
Telerik team
answered on 19 Nov 2012, 03:03 PM
Hello Steven,

RadGrid does its filtering and sorting on a data level. Thus it is not possible to use sort expressions that do not match a data field in the grid. For more information about sorting and sort expressions please review the following help topics:
Basic Sorting
Sort Expressions 

All the best,
Angel Petrov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Steven
Top achievements
Rank 1
Answers by
Angel Petrov
Telerik team
Share this question
or