Sort re-sorts the current rows using the active sort field.
()
| 170 | |
| 171 | // Sort re-sorts the current rows using the active sort field. |
| 172 | func (m *TableModel) Sort() { |
| 173 | m.sortRows() |
| 174 | } |
| 175 | |
| 176 | // Update handles keyboard navigation via the inner bubbles table. |
| 177 | func (m TableModel) Update(msg tea.Msg) (TableModel, tea.Cmd) { |