grid - drag and drop cells to another column

Hi,

I see in demos that it is possible drag and drop of rows withing same grid. 
But, is it possible drag and drop of cells to another column (the idea is move amounts of column X to column Y) ?.
If yes, any example or clues ?.

Thanks in advance
Jorge

1 Reply 1 reply marked as answer

PG Praveenkumar Gajendiran Syncfusion Team March 31, 2021 10:45 AM UTC

Hi Jorge,

Thanks for contacting Syncfusion support.

Query: “I see in demos that it is possible drag and drop of rows withing same grid. “ 

Yes, we have row drag and drop feature within same grid support in EJ2 Grid. Please check the below online demo and documentation for more information on this.

Online Demo: https://ej2.syncfusion.com/react/demos/#/material/grid/drag-drop-within-grid 

Documentation: https://ej2.syncfusion.com/react/documentation/grid/row/#drag-and-drop

Query: “But, is it possible drag and drop of cells to another column (the idea is move amounts of column X to column Y) ?.”

We are not able to drag and drop the cell from one column to another, because the column’s value has various types of data, so it is not possible to drag and drop the cell from one column to another.

But we have an option to reorder the entire columns by simply drag and drop in the desired column position. Please check the below online demo and documentation for more information on this.  

Online Demo: https://ej2.syncfusion.com/react/demos/#/material/grid/reorder 

Documentation: https://ej2.syncfusion.com/react/documentation/grid/columns/#reorder

Please get back to us if you need further assistance.

Regards,
Praveenkumar G  


Marked as answer
Loader.
Up arrow icon