Widgets
Table Widget
Learn how to use the Table Widget in OpenLIT to display structured data with sorting, scrolling, and pagination using ClickHouse queries.
The Table Widget in OpenLIT is designed to display raw or structured data in a readable, paginated table format. It’s perfect for logs, event traces, audit trails, or any dataset you want to explore row by row.
📌 Use Cases
- Displaying raw logs or error records
- Viewing user activity, API calls, or event data
- Showing detailed reports or audit trails
- Exploring top rows of a complex query result
🛠️ How to Add a Table
Example:
⚙️ Features
- Horizontal and vertical scrolling
- Choose colors theme
- Dynamic bindings for time ranges or filters
Use dynamic filters like {{filter.timeLimit.start}}
, {{filter.timeLimit.end}}
to make the stat card responsive to dashboard-level controls.
✅ Best Practices
- Use aliases for column names for readability (
AS user_email
,AS created_at
) - Limit unnecessary columns—focus on actionable fields
- Use
{{filter.timeLimit.start}}
,{{filter.timeLimit.end}}
to make tables dynamic