rat_widget

Module table

Source
Expand description

Table widget.

Can 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.

There is a second trait TableDataIter that works better if you only have an Iterator over your data.

Modules§

  • Extra widgets for inline editing in a table.
  • Different selection models for Table.
  • Implements a Row and a Cell struct that are compatible to ratatui. You only need these if you use preformatted data.

Structs§

Traits§

  • Trait for accessing the table-data by the Table.
  • Trait for accessing the table-data by the Table.
  • Trait for the different selection models used by Table.