material-table icon indicating copy to clipboard operation
material-table copied to clipboard

Disable draggable column header

Open v1nns opened this issue 7 years ago • 10 comments

Hi @mbrn, I looked the documentation to disable drag'n'drop column header and only found the flag column.grouping: false, but had no effect because I'm not grouping any data. How do I disable the draggable feature in column header? I don't wanna permit to change the column order, otherwise it messes with my workaround to freeze a column.

v1nns avatar May 28 '19 13:05 v1nns

I can add a columnReordering flag to options for next release.

mbrn avatar May 28 '19 13:05 mbrn

Hey @mbrn, sup? Did you take a look at this?

v1nns avatar Jun 04 '19 14:06 v1nns

Hi @v1nns

I am not at work and can not work at village. This is Feast of Ramadan days for muslims:). Thanks for patience

mbrn avatar Jun 05 '19 11:06 mbrn

Ooops, sorry @mbrn, I had no idea about that. I wish a happy Ramadan Feast to you.

v1nns avatar Jun 05 '19 19:06 v1nns

Up

v1nns avatar Jun 22 '19 22:06 v1nns

Hi @mbrn , I think the #779 solution is what we are looking. That's a simple opt-out and I'm looking forward for that feature.

hrafaelveloso avatar Jul 08 '19 10:07 hrafaelveloso

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You can reopen it if it required.

stale[bot] avatar Jun 15 '20 17:06 stale[bot]

hi @mbrn , is there a way to prevent one column from being re ordered when dragging and dropping the headers? I want my first column to always stay in the first position, but the rest of the columns can be moved around. I did not see a column flag property to prevent it from being dragged. Thank you!

coltanium13 avatar Jun 29 '20 20:06 coltanium13

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You can reopen it if it required.

stale[bot] avatar Sep 27 '20 20:09 stale[bot]

looking for this option as well

jason-zeiler-bayer avatar Aug 15 '23 20:08 jason-zeiler-bayer