Hi Team,
we have given user a way to drag the cell value so that the cell value gets copied to other cells.
if there are 4 rows, user tries to drag 1st column cell value of 1st row (row=0, col=0) to 1st column cell value of 4th row (row=3, col=1) and a new row is created at row=4. How can I prevent this ?
thanks
Hi @rohit.parwal
I would see a beforeCreateRow
callback to prevent the action. You can read more about it at https://docs.handsontable.com/pro/1.12.0/Hooks.html#event:beforeCreateRow
following code helped me to prevent hot from creating a new row
fillHandle: { // enable plugin in both directions and with autoInsertRow as false
autoInsertRow: false,
},
That is also a good solution @rohit.parwal
Is there anything I can help you with regarding the following topic?
I assume that I can close the issue as there is no reply for more than 20 days.