components icon indicating copy to clipboard operation
components copied to clipboard

[Feature Request]: Ability to disable drag and drop for CollectionPreferences

Open awskaran opened this issue 8 months ago • 4 comments

Description

Currently when we use contentDisplayPreference within CollectionPreferences, column reordering using drag and drop gets auto enabled. We need ability to disable the drag and drop ability so column re-ordering is not possible.

Code of Conduct

awskaran avatar Jun 03 '25 16:06 awskaran

Hello, we assume drag and drop is a great UX feature and disabling it would disappoint the end users. Why do you want to disable it?

just-boris avatar Jun 10 '25 09:06 just-boris

This issue will automatically resolve if we don't hear back from you soon.

github-actions[bot] avatar Jun 16 '25 19:06 github-actions[bot]

We have tables with more than 6 columns where we have first column fixed as its the most important information. If the user by mistake re-orders the columns using drag and drop it impact's table's usability as they scroll horizontally. Obviously they can reset the table column order but we wanted to see if we can complete disable the re-ordering capability.

shahkaran1990 avatar Jun 16 '25 22:06 shahkaran1990

If you already decided which columns are the most important and want to maintain their order, you can just remove the contentDisplayPreference option all together.

But if you decided to give your customers flexibility, then it is what it is – the columns can be reordered

just-boris avatar Jun 16 '25 23:06 just-boris