You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
I am using ReactGrid component. It is accepting onCellsChanged prop that supposed to return all the changes of the cells with CellChange imterface .
However, when I am copying data from one row to another, it is not returning all the necessary changes especially custom-checkbox cells (we have used the same code that is mentioned in the library's github repo for checkbox - https://github.com/silevis/reactgrid/blob/develop/src/lib/CellTemplates/CheckboxCellTemplate.tsx).
But when we paste the same copied data to the same row for the second time, then it is returning all the data. Please check the attached screenshot for more clarity.
Current behavior
When we copied one row and try to paste it to another row, then onCellsChanged function is not returning all the data, but on second time paste, it is returning. Please check the screenshot attached. When I tried to paste the data for the first time, library is returning changes that is print in the console using 'changes' keyword. And notice the second time 'changes' printed in the console for the second time paste.
Expected behavior
onCellsChanged function should return all the cell changes for the first time.
Screenshots or gifs
Your environment details
Device: Desktop - React application
OS: Windows
Browser: Chrome
The text was updated successfully, but these errors were encountered:
@SitesDeveloper23 Could you please provide more details about your implementation? Specifically, it would be helpful to see a code snippet that demonstrates how you are defining cells.
Description
I am using
ReactGrid
component. It is acceptingonCellsChanged
prop that supposed to return all the changes of the cells withCellChange
imterface .However, when I am copying data from one row to another, it is not returning all the necessary changes especially custom-checkbox cells (we have used the same code that is mentioned in the library's github repo for checkbox - https://github.com/silevis/reactgrid/blob/develop/src/lib/CellTemplates/CheckboxCellTemplate.tsx).
But when we paste the same copied data to the same row for the second time, then it is returning all the data. Please check the attached screenshot for more clarity.
Current behavior
When we copied one row and try to paste it to another row, then onCellsChanged function is not returning all the data, but on second time paste, it is returning. Please check the screenshot attached. When I tried to paste the data for the first time, library is returning changes that is print in the console using 'changes' keyword. And notice the second time 'changes' printed in the console for the second time paste.
Expected behavior
onCellsChanged function should return all the cell changes for the first time.
Screenshots or gifs
Your environment details
The text was updated successfully, but these errors were encountered: