How to disable viewport table row selection?
-
I have a viewport setup as a table, one column contains buttons, the other a label showing what the button is for. I have no need for the user to be able to select a row, how can I disable this?
-
@d-healey I've tinkered with the viewport recently. I don't it's possible to disable row selection, but maybe you could cheat using laf? i.e. So each row has the same 'design' no matter if it's clicked or not, so the user has no clue the rows are selectable?
-
@Matt_SF said in How to disable viewport table row selection?:
but maybe you could cheat using laf?
Good idea. I'll do that.
-
D d.healey marked this topic as a question
-
D d.healey has marked this topic as solved
-
@Christoph-Hart Slightly related question. For buttons the row index in the laf
obj
is speltRowIndex
but for text columns it isrowIndex
is that intentional?