Admin resource: Selectable table row text
Hi,
A customer of me needs the table list text to be "selectable", that is, he needs to be able to copy paste the text.
Right now every row of the table has a click event (cool) to edit, and it seems like every column of the row is "dragable" so you can move the text as a whole, but you can not select a part of it.
Does it make sense?
How could i deactivate this "dragable" behaviour of those columns I want to?
2 Replies
Not sure why they should be draggable if reordering is not active. But you can disable the clickable row. Search for tableRowAction or tableRecordAction or similar
Digging deeper I see that the problem is that all of those columns are <a> links to edit, so I cannot select the internal text because you cannot select internal text of a link. Yet typing ALT on the keyboard while using the mouse lets you subselect the text you want inside the link. I am going to tell my customer. Maybe it is obvious but I didn't know.