Is there any way to prevent columns headers horizontal draggable ?
hi, I use the grouping prop, but because my table direction is RTL, when i move the columns headers together,, it doesn't work properly. so i want to disable horizontal drag and drop for headers... any idea ?
Hi,
Maybe setting the draggable prop to false? It is under options. https://material-table.com/#/docs/all-props
You can pass the options prop to your table like this:
options={{
draggable: false,
grouping: false,
sorting: false,
pageSize: 5,
actionsColumnIndex: -1
}}
As you can see, one of the options is draggable which takes a Boolean value (true or false)
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.