Grid.dragging = false does not seem to work

Resolved
Accobat Development asked on October 20, 2023

Hello,
 
As an offshoot of this ticket I am attempting to disable dragging in our FM pivot. However, despite following the instructions, it does not seem to work.
Attached is a fiddle where dragging should be disabled (but isn't).
https://jsfiddle.net/ygk71sdh/
 
Setting .fm-handle's display:none in CSS fixes it, but it would be nice with a native solution.

Br
Jonas

1 answer

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster October 23, 2023

Hello Jonas,

Thank you for reaching out to us.

Kindly note that the dragging property of the options.grid object is used to control whether the hierarchies can be dragged. If they can be dragged, the user can move the field, for instance, from columns to rows, and remove it from the grid using dragging. 
To disable the ability to resize cells, we recommend setting .fm-handle's display: none in CSS, as you mentioned.

We hope it helps. You are welcome to contact us in case other questions arise. 

Kind regards,
Nadia

Please login or Register to Submit Answer