virinchi_cv
Introducing LiveTable - Interactive Tables for Phoenix LiveView
Hello Elixir community! ![]()
I’m excited to announce the release of LiveTable, a comprehensive table component library built specifically for Phoenix LiveView applications. LiveTable aims to simplify the implementation of complex, interactive data tables while maintaining the real-time capabilities that make LiveView great.
Key Features
-
Rich Filtering System
- Text search across multiple fields
- Range filters for numbers, dates, and datetimes
- Boolean filters with custom conditions
- Select filters with static and dynamic options
- Multi-column filtering support
-
Smart Sorting
- Multi-column sorting with shift-click support
- Sortable associated fields
- Customizable sort directions
-
Export Capabilities
- Background processing with Oban
- CSV exports using NimbleCSV
- PDF exports using Typst
-
Real-time Updates
- Instant filter feedback
- Seamless LiveView integration
-
Flexible Pagination
- Configurable page sizes
- Dynamic page navigation
- Efficient database querying
Getting Started
Add to your dependencies:
def deps do
[
{:live_table, "~> 0.2.0"}
]
end
Check out our GitHub Repository for complete documentation and examples.
Why LiveTable?
We built LiveTable to address the common need for interactive data tables in Phoenix applications. It provides a robust, out-of-the-box solution that’s both powerful and easy to implement. Whether you’re building an admin panel or a data-heavy user interface, LiveTable handles the complexity while you focus on your application logic.
Demo Application
A live demonstration of LiveTable’s capabilities is available at livetable.gurujada.com. The demo showcases LiveTable’s performance and scalability by managing 1 Million rows with:
- Real-time filtering
- Multi-column sorting
- CSV and PDF export capabilities
The demo application’s source code is hosted at Git Link for reference and learning purposes.

An advanced demo app to showcase livetable’s flexibility giving you complete control over the table, fields and queries is located at JOSAA App.
Josaa is the unified seat allocation board for engineering colleges in India. Students often struggle with choosing the right branch in the right college. This demo app helps to alleviate their problems by filtering colleges based on the student’s rank. All the datatables, card views in this app are powered by LiveTable.
JOSAA App’s git link can be found here- Josaa app github
Feedback Welcome!
We’d love to hear your feedback! Feel free to:
- Try it out and share your experience
- Report any issues you encounter
- Suggest features you’d like to see
- Contribute to the project
https://github.com/gurujada/live_table
Looking forward to see what you build with LiveTable!
Trending in Announcing
Other Trending Topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #ai
- #elixirconf-us
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #hex
- #security
- #metaprogramming










Showing Posts 1 to 10- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
egze
Please consider adding a screenshot how it looks like. Extra bonus if it’s a hosted page with real data. Thanks
cblavier
Nice project!
I agree with @egze a live demo would make a difference! (for
phoenix_storybookI deployed a free fly.io app)virinchi_cv
Deployment to fly in progress…
Hermanverschooten
Am I correct in surmising that this only works with
Ecto.Schemaand queries the database?virinchi_cv
Yes.
Ectois needed for it to work.Hermanverschooten
Thanks.
virinchi_cv
Demo added in the main post above.
simonitminds
Looks really great virinchi_cv.
It might just be my lack of knowledge, but i think https://github.com/gurujada/live_table/blob/master/lib/live_table/liveview_helpers.ex#L13 will course memory leaks, since you are parsing a frontend based params/filter directly into atoms.
Sorry for the nitpick, i really think the code you have written is awesome!!
virinchi_cv
Thanks for the compliments @simonitminds
You’re right. I should have used
String.to_existing_atom()instead.That won’t cause a memory leak.
Hope that answers your question?
virinchi_cv
LiveTable Major Update: Complete Flexibility & Custom UI Control
Hey everyone!
Following up on the initial LiveTable announcement - we’ve shipped some major improvements based on real-world usage and feedback.
The Problem We Faced
Building with LiveTable, we realized that having the library generate queries was a lot tougher than anticipated. We kept running into walls with:
The Solution: Full User Control
We decided to pivot completely and give full control back to you, the developer:
This is the most powerful feature we’ve added:
The icing on the cake - URL remembers everything:
Real-World Success
We’re using this in production for an advanced college counselling platform with:
This app serves as an advanced demo of LiveTable.
Check it out at Josaa App
Git Repo of Josaa App- Git Link
What This Means for You
schema:parameterThe documentation has been completely rewritten with real-world examples, comprehensive API reference, and step-by-step guides.
The demo application has been moved to https://livetable.gurujada.com
v0.3 will be released on hex shortly. Check it out on git right now!
Excited to see what you all build with this!
What complex table requirements are you struggling with? We’d love to hear how these new features might help! Or any new feature requests!