When creating a DataTable with .cell_selectable(true), it always includes a row selector. While this can be useful, it can also be a bit annoying when I just want to hide it. I want to hide it so the first column can display the row index, and still allow clicking to select the row
For me, the best way is adding a row_selector field to modify the first column
When creating a DataTable with
.cell_selectable(true), it always includes a row selector. While this can be useful, it can also be a bit annoying when I just want to hide it. I want to hide it so the first column can display the row index, and still allow clicking to select the rowFor me, the best way is adding a
row_selectorfield to modify the first column