How can i have row selection and also cell drag in datatable?

Hi,

We have a requirement where a user can select a row and also drag a cell to some of the rows on the same column, so that the dragged cell value should update the rest of the cells they dragged (Similar to excel) in datatable.

Regards,
Ranjith G

Hi All,
I have found a way to implement this functionality. Please find the code sample for the same in https://webix.com/snippet/5ef62a43.

Thanks,
Ranjith G.

With mapSelection method, implementation can be a bit handier: https://webix.com/snippet/4e896a0e

UPD: as we found a bug in mapSelection with area selection, please check the updated snippet with the less complex solution and a small workaround for the issue.

At the same time, your implementation will work just as needed.

Thanks for your suggestion, i went for Area Selection just because i want to have row select and also area selection together as per our requirement.