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

Problem with Copy / Paste timestamp cell - seconds not included

1 Answer 102 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Kristian
Top achievements
Rank 1
Kristian asked on 02 Apr 2013, 11:00 AM
Hi 

I have the following problem when copying a timestamp cell value in gridview.
The cell value looks like this - "02-04-2013 12:05:06"
After i copy the cell value to clipboard the result is this: "02-04-2013 12:05" (My seconds is missing)

I have used 

radMobilityGrid.Columns[0].FormatString = "{0: dd-MM-yyyy HH:mm:ss}";

to format my column correctly

Can anyone please help me, so that seconds (and milliseconds) will be included when i copy to clipboard?

Kinds regards

/Kristian Theilade

1 Answer, 1 is accepted

Sort by
0
Julian Benkov
Telerik team
answered on 03 Apr 2013, 01:35 PM
Hi Kristian,

This functionality currently not supported by the RadGridView. The DateTime formatting for copy / paste operations uses only the format:"
yyyy-MM-dd HH:mm tt" to support MS Excel DateTime formatting, which is often used scenario. We will research the possibility to attach FormatString property of GridViewColumn to the copy / paste API in one of the next our releases.

Thank you for your time and cooperation.

All the best,
Julian Benkov
the Telerik team
WinForms Q1 2013 boasts PivotGrid, PDF Viewer, Chart enhancements and more. Check out all of the latest highlights.
Tags
GridView
Asked by
Kristian
Top achievements
Rank 1
Answers by
Julian Benkov
Telerik team
Share this question
or