Skip to content

Commit

Permalink
Merge pull request nadbm#244 from jorrit/patch-2
Browse files Browse the repository at this point in the history
Add handleCopy prop to README
  • Loading branch information
nadbm committed Feb 8, 2021
2 parents 27e1db1 + 5e368be commit e01fef6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ re-renders.
| onContextMenu | func | Context menu handler : `function(event, cell, i, j)` |
| parsePaste | func | `function (string) {}` If set, the function will be called with the raw clipboard data. It should return an array of arrays of strings. This is useful for when the clipboard may have data with irregular field or line delimiters. If not set, rows will be split with line breaks and cells with tabs. |
| isCellNavigable | func | `function (cell, row, col) {return true}` If set, the function is used to determine whether navigation to the indicated cell should be allowed or not. If not then using cursor or tab navigation will skip over not allowed cells until it finds the next allowed cell. |
| handleCopy | func | `function ({ event, dataRenderer, valueRenderer, data, start, end, range })` If set, this function is called whenever the user copies cells. The return string of this function is stored on the clipboard. |

### Advanced options

Expand Down

0 comments on commit e01fef6

Please sign in to comment.