Is there any way to achieve this drag and drop cells in angular grid?
Thanks
1 Answer, 1 is accepted
0
Dimiter Topalov
Telerik team
answered on 24 Oct 2018, 08:55 AM
Hi Han,
The described functionality is not supported as the designed Grid purpose is to display tabular data in the following manner - a separate row is rendered for each data item, and a separate column for each data item's property that has a column with the respective field configured.
You can reorder whole columns via the built-in column reordering functionality:
... but dragging individual cells and dropping them elsewhere in the Grid is not supported, as this would mean that the Grid structure would no longer properly represent the data (as every column is bound to a specific field and its cells are supposed to contain the respective data item's property value).
I hope this makes sense.
In theory, one could programmatically make all cells draggable and implement some custom logic to achieve the desired behavior, similar to the one for drag-and-drop of rows:
... but all implementation details and respective data manipulation are in the hands of the developer.
Regards,
Dimiter Topalov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.