Skip to content

paste outside existing grid boundaries #48

@joechrz

Description

@joechrz

We're dealing with a use case where the grid columns are fixed (the "schema") but a user can add/remove/update any of the rows. One of the use-cases we want this to handle is the situation where someone kept a list of data in a spreadsheet somewhere and they want to paste it into the grid.

As is, it looks like the paste command doesn't allow pasting outside the col/row descriptor boundaries:
https://github.com/gridgrid/grid/blob/next/src/modules/copy-paste/index.ts#L167

Wanted to start an issue to discuss the best way to handle this and/or implement a way for additional row/column descriptors to be created on-demand in response to a paste event.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions