Hi, SpreadJS Cell Copy included linebreak words

Posted by: pyoh on 13 May 2024, 4:05 pm EST

  • Posted 13 May 2024, 4:05 pm EST - Updated 13 May 2024, 4:11 pm EST

    as a title.

    If I Copy Cell after clicking cell once.

    It was copied incluced linebreak word(“\n”)



    how to copy only value without linebreak?

    I set clipboardOptions to “valuesAndFormatting”

  • Posted 14 May 2024, 5:46 pm EST - Updated 14 May 2024, 5:51 pm EST

    Hi,

    Based on my understanding, when you copy a cell value from SpreadJS and paste it, the copied value includes the line break.

    This is expected behavior and the same with Excel. And With clipboardOptions, you cannot exclude this line break. However, If you want to copy the value without the line break, you can do so by double-clicking the cell. You can refer to the attached gif “Steps.gif”.

    GIF:

    Regards,

    Priyam

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels