Author Topic: Inquiry for copy and paste action.  (Read 1704 times)

YONGHOO KIM

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 20
    • View Profile
Inquiry for copy and paste action.
« on: June 24, 2020, 01:28:06 pm »
hi
we use

var editModel = {
    clicksToEdit: 1,
};


When I copy multiple cell first like below
A
B
C
and paste into editing mode cell and then data will be set into just one cell with space like "A B C". (case 1)
If I grep any 2 more cell and paste the data will be set same as what I copied (case 2)
A
B
C

The question is if I paste into editing mode cell, I don't want to set data like "A B C" (case 1)
Do you have any way to express data row by row like case2?

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Inquiry for copy and paste action.
« Reply #1 on: June 24, 2020, 01:39:31 pm »
Please use

Code: [Select]
editor: {
      type: "textarea"
},

to have a column with multiline support.

Example: "Shipping Address" column in https://paramquery.com/pro/demos/editing_custom