Skip to content

feat: add SortableTable with sorting and filtering#77

Merged
meszmate merged 2 commits intomainfrom
feature/sortable-table
Mar 31, 2026
Merged

feat: add SortableTable with sorting and filtering#77
meszmate merged 2 commits intomainfrom
feature/sortable-table

Conversation

@meszmate
Copy link
Copy Markdown
Owner

@meszmate meszmate commented Mar 30, 2026

Summary

  • Adds SortableTable(num_cols) component in src/components/sortable_table.zig
  • Column sorting (ascending/descending) via 1-9 keys
  • Case-insensitive text filtering via / key
  • Sort indicators (▲/▼) in headers
  • Auto-width calculation, cursor navigation, row count display
  • Example with sample employee data

Extends table with click-to-sort columns (asc/desc), case-insensitive
text filtering, sort indicators, and auto-width calculation.
@meszmate meszmate merged commit 55a1ff1 into main Mar 31, 2026
9 checks passed
@meszmate meszmate deleted the feature/sortable-table branch March 31, 2026 03:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant