CellComponentProps is not working when passing copied: false #361
Unanswered
Milan-Koladiya
asked this question in
Q&A
Replies: 1 comment 1 reply
-
The component currently doesn't support disabling copy a cell |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Goal:- my goal is to prevent cells from copy
I have tried CellComponentProps and passed copied: false but still it copies. did I use it in the wrong way? please check the below code.
<Spreadsheet CellComponentProps={(cell) => ({ copied: false, ...cell, })} onChange={(updatedData) => setUpdatedGridData({ ...updatedGridData, income: updatedData })} data={gridData.income} columnLabels={columnHeaders} rowLabels={incomeGridTitle} />
Beta Was this translation helpful? Give feedback.
All reactions