Copy formatted cell text

4 posts, 0 answers
  1. SimonasM
    SimonasM avatar
    4 posts
    Member since:
    Oct 2014

    Posted 27 Feb 2015 Link to this post

    Hello, I'm using CellFormatting event to convert TypeId's to the more human friendly text (Type name). However if I copy value (CTRL+C or access cell value via code) I get original (unformatted) value. Is there any way to get formatted cell text ?  
  2. SimonasM
    SimonasM avatar
    4 posts
    Member since:
    Oct 2014

    Posted 03 Mar 2015 Link to this post

    So, anyone got an idea ? Or should we create new models filled with formatted values for all the telerik grids ? 
  3. Dess
    Admin
    Dess avatar
    1666 posts

    Posted 04 Mar 2015 Link to this post

    Hello Simonas,

    Thank you for writing.

    MasterGridViewTemplate introduces two methods appropriate for customizing the Clipboard data: Copy and Paste. Our Copy/Paste DisplayMember for GridViewComboBoxColumn KB article demonstrates a sample approach how to customize the Clipboard data.

    I hope this information helps. Should you have further questions, I would be glad to help.
     
    Regards,
    Dess
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  4. SimonasM
    SimonasM avatar
    4 posts
    Member since:
    Oct 2014

    Posted 04 Mar 2015 in reply to Dess Link to this post

    This is exactly what I was looking for. Those articles provided all the information needed.

    Thank you.
Back to Top