Skip to content

afterpaste event doesn't include pasted data #549

Open
@romanstetsyk

Description

@romanstetsyk

Expected behavior and actual behavior.

Expect: afterpaste event to provide a way to access the values pasted.
Actual: afterpaste event doesn't provide the values of the cells, only the indices of the affected cells.
Suggestion:

  1. e.cells contains an array of affected cells. Each element of the array is of the form [rowIndex, columnIndex, boundRowIndex, boundColumnIndex]. I suggest adding a fifth element to the array with the new value of the cell.

    or

  2. Add a new property, rows, containing entire rows affected by the paste. This is similar to how the beforeendedit event includes the e.cell.data property with the data for the entire row.

Steps to reproduce the problem.

Specifications like the version of the project, operating system, or hardware.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions