Is there a way to prevent certain rows from being re-orderable? E.g. The first item in my list should always be the first item in the list and the user should not have the option to drag it.
I handle it in my code currently in the on_drop handler, but it would be great if the user didn't even have to option to "accidentally" drag the row.
Hi @Hanno ,
you could experiment with pointer-events.
for example, to avoid the first row being dragged, but still allow a link that is inside that row, it would be something like
.table .table-row:first-child{ pointer-events: none; } .table .table-row:first-child a{ pointer-events: all; }
Dorine
Thank you, Dorine.
I will give it a try and report back :)
Hanno