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

Copy column header names possible?

3 Answers 43 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Brian Graves
Top achievements
Rank 1
Brian Graves asked on 14 Jun 2010, 04:29 PM
I can multi-select (using the SelectionMode property) and manually copy rows from my RadGridView to an Excel spreadsheet.  However, I can't do the same with the column header and copy the names.  Is there a different property that I need to set in order to do this?

3 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 15 Jun 2010, 06:02 AM
Hi,

 Currently RadGridView does not support column selection however since we have now multiple cells selection you can implement column selection very easily by selecting all cells for particular column.   

Regards,
Vlad
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Brian Graves
Top achievements
Rank 1
answered on 15 Jun 2010, 04:58 PM
Please explain. If RadGridView currently doesn't support column selection but I can implement it, how do I go about doing that?  I looked at the sample you provided but it doesn't allow me to copy the column HEADER name.  I selected Multiple cells (including the header) on the sample page in the link but every single time I did a copy (ctrl-C) and paste (ctrl-V), nothing was pasted in my Excel spreadsheet...even when I answered Yes to allow telerik to access my clipboard.  In any case, I still need an answer about whether or not I can copy any of the header column names on the grid.  Can I?
0
Vlad
Telerik team
answered on 16 Jun 2010, 06:02 AM
Hello,

 I've misunderstood your question. No the grid will not copy the header cell in the clipboard however you can define custom Header for your columns, catch KeyDown of the UI element(s) defined in your header and copy desired value in the clipboard using standard Silverlight clipboard methods.

All the best,
Vlad
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
GridView
Asked by
Brian Graves
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Brian Graves
Top achievements
Rank 1
Share this question
or