Copy pasting multiple words from excel creates new line in GridJS

Hi,

Whenever I copy paste a cell containing multiple words from an excel file and paste directly in a GridJS cell, the pasted data creates a new line.

copy paste.png (26.1 KB)

And also is copy pasting from an excel file to a merged cell in GridJs possible?

Regards

@abdelaspose

Summary
The provided sources do not contain any information about GridJS, Excel copy‑pasting, line‑break handling, or merged‑cell support. Therefore I cannot confirm the exact cause of the new‑line behavior or whether merged cells are supported.

Why it happens
No evidence was found in the retrieved documents that explains why pasting multiple‑word cells from Excel would create a new line in a GridJS cell, nor why merged cells might or might not work.

What to do next

  • Consult the official GridJS documentation or its GitHub issues page for details on paste handling and cell merging.
  • Test the behavior yourself: copy a cell with line breaks from Excel and paste into a GridJS cell to see if line‑break characters (\r, \n) are inserted.
  • If line breaks are the problem, you can intercept the paste event in JavaScript and strip or replace them before inserting the text into the grid.
  • For merged‑cell functionality, verify whether GridJS supports colSpan/rowSpan in data rows (it typically only supports them in header cells). If true merging is required, you may need a more spreadsheet‑oriented component.

Note: Because the evidence does not cover this topic, the above suggestions are based on general web‑development practices rather than specific documentation.

@abdelaspose
We can reproduce the issue.
The copy paste shall not result extra new lines .
The copy paste from word shall be available for merged cell.
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue (s): 

CELLSGRIDJS-2056 Copy pasting multiple words from excel creates new line in GridJS
CELLSGRIDJS-2057 Merged cell does not allow copy pasting operation in GridJS

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.