Sort Table Rows? #1434
-
It seems Let's say I'm working on a UI similar to airmon-ng, where I always want the most recent Row to appear on top of a Table and also be able to delete certain rows. Is there a way to get the current rows from a Table so I can manipulate the data, and then re-insert it inside the Table? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Think of a Rich table as an intermediate stage between your data and the terminal. Its only job is to render to the terminal. If you want to sort the the rows, you can rebuild a Table object however you like. |
Beta Was this translation helpful? Give feedback.
Think of a Rich table as an intermediate stage between your data and the terminal. Its only job is to render to the terminal. If you want to sort the the rows, you can rebuild a Table object however you like.