LiveTable (live_table v0.4.0)
View SourcePhoenix LiveView component library for building dynamic, interactive data tables.
LiveTable provides sorting, filtering, pagination, and exports for Phoenix LiveView applications. It supports both simple single-schema tables and complex queries with joins, aggregations, and computed fields.
Getting Started
# Add to mix.exs: {:live_table, "~> 0.4.0"}
mix deps.get
mix live_table.install
See the Installation Guide and Quick Start.
Key Modules
use LiveTable.LiveResource- Main entry point for creating tablesLiveTable.Boolean,LiveTable.Range,LiveTable.Select- Filter typesLiveTable.Transformer- Advanced query transformations (most powerful feature)
Documentation
- Overview - Architecture and concepts
- Fields API - Field configuration options
- Filters API - Filter types and usage
- Transformers - Advanced query control
- Table Options - Pagination, exports, debug mode
- Examples - Real-world usage patterns