hi,
i want to perform some action when ever user selects the row header of the grid view,
now problem is that i don't know what is the event name for Telerik GridView.
please, tell me the event name of row header selection by mouse.
thanks
2 Answers, 1 is accepted
0
Milan
Telerik team
answered on 19 Nov 2009, 04:34 PM
Hello imee,
When a row header is clicked the grid will perform a sort if the specified column can be sorted and that will fire the Sorting event. You can use this event to determine when a click action was performed.
Another approach is to manually subscribe for MouseDown/Up events:
Yet another approach you can use is to provide a custom header cell template. This could come in handy if you also want to change the looks of a header cell:
Here's a slight variation of the second approach with the mouse events. This approach will cause the radGridViewVert_MouseLeftButtonDown event to only be executed when a header cell in the header column is clicked: