rat-ftable 0.14.0

ratatui table widget for large data
Documentation

crates.io Documentation License License

Table widget based on ratatui.

Could be used as a drop-in replacement for the ratatui table. But that's not the point of this widget.

This widget uses the TableData trait instead of rendering all the table-cells and putting them into a Vec. This way rendering time only depends on the screen-size not on the size of your data.

image

More bullet points:

  • Row and Column offset for rendering.
  • Pluggable selection with TableSelection
    • Allows row/column/cell selection.
    • Row/column/cell selection + Header/Footer selection each with its own style.
  • Basic key/mouse handling present.

Eventhandling is currently crossterm only. In practice event-handling is calling 1 or 2 functions on the state, so this should be easy to map to other systems. (Contributions welcome :)