Problem with Copy / Paste timestamp cell - seconds not included

2 posts, 0 answers
  1. Kristian
    Kristian avatar
    2 posts
    Member since:
    Oct 2012

    Posted 02 Apr 2013 Link to this post


    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

  2. Julian Benkov
    Julian Benkov avatar
    1135 posts

    Posted 03 Apr 2013 Link to this post

    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.
Back to Top