Is there a way to programmatically order columns, including display cols? #20
-
The very specific thing I'm trying to do is simply put the expanding row icon at the end of the row rather than the beginning. I noticed that the table root sets the I see that there's a I haven't used react-table outside of this context, so I'm not super familiar with it, but it feels like being able to have access to something like the Not sure if this is a feature request or just an ask for help, but open to suggestions! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
You should be able to pass the column order in the initialState, and it will be respected. I think it's called mrt-row-expand as of version 0.24.0. There will be official docs for customizing display columns soon. Edit: There is a new |
Beta Was this translation helpful? Give feedback.
You should be able to pass the column order in the initialState, and it will be respected. I think it's called mrt-row-expand as of version 0.24.0. There will be official docs for customizing display columns soon.
Edit: There is a new
positionExpandColumn
prop where you can specifylast
to make it the last column.