Author Topic: Paste of entire row having multilple lines in a cell on a new  (Read 2761 times)

kshipra

  • Pro Enterprise
  • Jr. Member
  • *
  • Posts: 94
    • View Profile
Paste of entire row having multilple lines in a cell on a new
« on: November 30, 2017, 01:00:17 pm »
I have textarea description column.

There are multiple lines for description with CRLF at end of each line. Paste of entire row on another new row with these multiple lines for description is not working. Multiple existing rows are getting modified. using Ctrl C and Ctrl V

https://paramquery.com/pro/demos/copy_paste  - pasted on grid B entire row with multiple lines in a cell

Line1 blah blah blah
Line2 blah blah blah.
Note: sfsdfsdfsdfsdfsdf.

How can I enable multiline with CRLF paste ?
« Last Edit: November 30, 2017, 01:14:09 pm by kshipra »

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6265
    • View Profile
Re: Paste of entire row having multilple lines in a cell on a new
« Reply #1 on: November 30, 2017, 06:14:57 pm »
If you want multiple lines of text to be pasted in a single cell, then enclose them within double quotes.

"Line1 blah blah blah
Line2 blah blah blah. "

kshipra

  • Pro Enterprise
  • Jr. Member
  • *
  • Posts: 94
    • View Profile
Re: Paste of entire row having multilple lines in a cell on a new
« Reply #2 on: November 30, 2017, 11:54:03 pm »
It is not working :(

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6265
    • View Profile
Re: Paste of entire row having multilple lines in a cell on a new
« Reply #3 on: November 30, 2017, 11:59:19 pm »
Can you please share a jsfiddle and which version of grid are you using?

kshipra

  • Pro Enterprise
  • Jr. Member
  • *
  • Posts: 94
    • View Profile
Re: Paste of entire row having multilple lines in a cell on a new
« Reply #4 on: December 01, 2017, 05:06:44 am »
It is similar problem to similar post with title: Pasting Cells with newlines. I am using grid version 3.4

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6265
    • View Profile
Re: Paste of entire row having multilple lines in a cell on a new
« Reply #5 on: December 01, 2017, 03:37:06 pm »
Support for new lines is added in 4.0.2. In older versions new lines are considered as new rows.