Author Topic: How to copy cell data with customized format  (Read 2253 times)

ccc

  • Newbie
  • *
  • Posts: 2
    • View Profile
How to copy cell data with customized format
« on: February 10, 2017, 08:34:29 am »
Hello,

We have date/object data in the grid cell, and use format/render to display them.

If we select and copy these cells, can we get the rendered data instead of the raw data?

Sample data of the row:

Code: [Select]
{
  id: 1,
  ETA: '2017-01-24T00:00:00',
  country: {name: 'Japan', code: 'JP'},
}

When copy, we want to get

Code: [Select]
01-24-2017 JP: Japan

Sample code: https://jsfiddle.net/ccchc/vyc7ync3/37/

Best Regards.
« Last Edit: February 10, 2017, 08:38:07 am by ccc »

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: How to copy cell data with customized format
« Reply #1 on: February 10, 2017, 06:36:25 pm »
Ability to copy render/format cells is quite useful feature. It would be added in next upgrade, thanks for your feedback.

ccc

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: How to copy cell data with customized format
« Reply #2 on: February 13, 2017, 01:59:26 pm »
Got it!
Thanks!