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

[Solved] Grid column sorting: Header Selection problem

1 Answer 108 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mohamed
Top achievements
Rank 1
Mohamed asked on 25 Mar 2008, 02:36 PM
I have a Premetheus grid that display database data. One of the columns includes a link field, and another an image button. The data is loaded from the database and displays well.

I have set the grid for client-side sorting. When I place the mouse on any of the columns other than the link and button columns (those use item templates) I get the hand cursor and the header is clickeable.

This does not happen with the link and button related columns. Any ideas what could be the issue?

Thanks for your help.

1 Answer, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 25 Mar 2008, 04:40 PM
Hello Mohamed,

For these column you will need to provide SortExpression explicitly. For GridBoundColumns it defaults to the value of DataField property. Hope this helps.

Best wishes,
Ves
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
Mohamed
Top achievements
Rank 1
Answers by
Ves
Telerik team
Share this question
or