mui-x icon indicating copy to clipboard operation
mui-x copied to clipboard

[XGrid] Disable checkbox column draggable

Open y2b1 opened this issue 5 years ago • 3 comments

The checkbox column is draggable and it shouldn't be. Is there any config on the table that may prevent this? I see it happening in the demo as well so I'm guessing its an issue with XGrid and not my setup. You can see the column being dragged here, using the same code for the table configs.

https://codesandbox.io/s/gttt1?file=/demo.tsx

Thanks!

y2b1 avatar May 25 '21 18:05 y2b1

It looks like we can solve this the same way as #1672.

oliviertassinari avatar May 25 '21 19:05 oliviertassinari

It looks like we can solve this the same way as #1672.

We are discussing that before. We could add the option to disable dragging for specific columns by adding a flag in the column definition.

DanailH avatar May 27 '21 13:05 DanailH

@DanailH #1161

oliviertassinari avatar May 27 '21 13:05 oliviertassinari