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

RadGrid Command above column header

1 Answer 44 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kevin Donahue
Top achievements
Rank 1
Kevin Donahue asked on 21 Nov 2012, 06:17 AM
I was wondering if there is a good way to put an image button above a column header for a RadGrid? It needs to be above the header and if the user scrolls the grid, it needs to stay inline with the column. 

Is there an easy way to to do this, or do I have to use some sort of floating panel and javascript when the radgrid scrolls?

I originally solved this by putting a button in the column header using a custom template for the header, but this seems to have broken my export to pdf and export to excel commands for the grid.

1 Answer, 1 is accepted

Sort by
0
Kostadin
Telerik team
answered on 23 Nov 2012, 12:37 PM
Hello Kevin,

A possible solution is to use custom command item template. A live example could be found here. The implementation of this demo is easy and intuitive as you can see from the code.

All the best,
Kostadin
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
Kevin Donahue
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
Share this question
or