Disable moving columns in View Mode

Hi :slight_smile:
I am trying to limit the availability for 'View Only' users to move columns from tables.
I cannot freeze them all as I have two columns that are already freezed. Any ideas on how to achieve this?
Thanks in advance

Hi there @annafonte :wave:

I checked in with my team and it looks like there isn't functionality to do that right now unfortunately. However we're fairly certain that an end user in preview mode cannot change the ordering of the columns for another user simultaneously using the same app. In fact I would say upon a refresh the ordering should revert to its original form.

Please let me know if that's not the case for your particular use-case!

Hi there @annafonte :wave:

Turns out I was wrong! We figured out something that might just work. Have you worked with Custom CSS in Retool apps? Try using the following:

.rt-thead *{
-webkit-user-drag: none !important;
}

That ought to do it!

2 Likes

Hi @Pawan :slight_smile:
Your solution is working perfect! Thank you so so much