Get Free Trial

Drag and drop cell

Massimo asked on August 27, 2021

Hi team,
i have a question, is it possible to drag and drop a cell? are there any events like dragstart dragover e dragend?
Thanks in advance!

3 answers

Mykhailo Halaida Mykhailo Halaida Flexmonster August 27, 2021

Hi Massimo,
Thank you for posting your question.
Flexmonster allows dragging the field header cells to rearrange/remove the corresponding fields in the grid. The dragging availability is configurable through the `dragging` property of the Options object.
Answering your second question, the component currently does not provide any events related to dragging.  
Please let us know if this helps.
Best regards,

Massimo August 30, 2021

Hi Mykhailo,
Thank you for your reply! So the events are not provided… anyway is there a way for disable/enable the multiselection of the cells ?  
Thanks in advance!

Mykhailo Halaida Mykhailo Halaida Flexmonster August 31, 2021

Thank you for your response.
If that’s what you mean, disabling cell selection in the grid is not natively supported in Flexmonster.
However, you can achieve something similar with your custom CSS combined with the showAutoCalculationBar: false property of the Options object.
Here’s a sample showcasing this approach:
Hope this helps!

This question is now closed