DataTable

PRO

Powerful, flexible, and customizable data table component with sorting, filtering, pagination, row selection, and more features.

Pro Features

Unlock advanced capabilities with the Pro version

Advanced Data Handling

Handle massive datasets with virtualization, lazy loading, and optimized rendering for smooth performance

Smart Filtering & Search

Powerful column-specific filters, global search, and custom filter functions with debounced input

Flexible Sorting

Multi-column sorting, custom sort functions, and persistent sort state across sessions

Column Management

Resizable columns, show/hide controls, column reordering, and fixed column support

Export Functionality

Export data to CSV, Excel, PDF, and JSON formats with custom formatting options

Row Expansion

Expandable rows with nested tables, detail views, and custom expansion content

Installation

Install via CLI

moonui add data-table-pro

Usage

Basic Usage

Pro Required
Name
Email
Role
John Doejohn.doe@example.comAdmin
Jane Smithjane.smith@example.comEditor
Bob Johnsonbob.johnson@example.comUser
3 of 3 row(s)

Rows per page

Page1 of 1

Pro Usage

PRO
Pro Required
E-posta
Role
Status
Department
İşlemler
John Doe
john.doe@example.com
Admin
Active
Engineering
₺85.000,00
Jane Smith
jane.smith@example.com
Editor
Active
Marketing
₺65.000,00
Bob Johnson
bob.johnson@example.com
User
Inactive
Sales
₺55.000,00
Alice Brown
alice.brown@example.com
Viewer
Pending
HR
₺75.000,00
Charlie Wilson
charlie.wilson@example.com
Editor
Active
Engineering
₺60.000,00
5 of 5 row(s)

Rows per page

Page1 of 1

Examples

Basic Usage

PRO

Simple data table example

Pro Required
İsim
E-posta
Rol
John Doejohn.doe@example.comAdmin
Jane Smithjane.smith@example.comEditor
Bob Johnsonbob.johnson@example.comUser
3 of 3 row(s)

Rows per page

Page1 of 1

Sorting and Filtering

PRO

Table with sorting and filtering features

Pro Required
Rol
Departman
John Doe
Admin
Engineering
Jane Smith
Editor
Marketing
Bob Johnson
User
Sales
Alice Brown
Viewer
HR
Charlie Wilson
Editor
Engineering
5 of 5 row(s)

Rows per page

Page1 of 1

Row Selection

PRO

Table with multi-row selection feature

Pro Required
E-posta
Role
Status
John Doe
john.doe@example.com
Admin
Active
Jane Smith
jane.smith@example.com
Editor
Active
Bob Johnson
bob.johnson@example.com
User
Inactive
Alice Brown
alice.brown@example.com
Viewer
Pending
Charlie Wilson
charlie.wilson@example.com
Editor
Active
5 of 5 row(s)

Rows per page

Page1 of 1

Pagination

PRO

Large dataset with pagination feature

Pro Required
E-posta
Role
Status
Department
John Doe
john.doe@example.com
Admin
Active
Engineering
Jane Smith
jane.smith@example.com
Editor
Active
Marketing
Bob Johnson
bob.johnson@example.com
User
Inactive
Sales
10 of 10 row(s)

Rows per page

Page1 of 4

Advanced Features

PRO

Table with export functionality (CSV, Excel, PDF) and all features

Pro Required
Project Name
Status
Progress
Due Date
Project AlphaCompleted
100%
2024-01-15
Project BetaIn Progress
75%
2024-02-01
Project GammaPlanning
25%
2024-03-15
Project DeltaIn Progress
60%
2024-02-20
Project EpsilonCompleted
100%
2024-01-30
5 of 5 row(s)

Rows per page

Page1 of 1

Advanced Filtering

PRO

Table with filter drawer/sidebar

Pro Required
Name
Email
Role
Department
Salary
Join Date
Status
John Doe
john@example.com
Admin
Engineering
$120,000
1/15/2022
Active
Jane Smith
jane@example.com
User
Sales
$85,000
3/20/2022
Active
Bob Johnson
bob@example.com
Editor
Marketing
$75,000
11/10/2021
Inactive
Alice Brown
alice@example.com
User
HR
$70,000
2/1/2023
Active
Charlie Davis
charlie@example.com
Admin
Engineering
$110,000
6/15/2023
Pending
Emma Wilson
emma@example.com
Editor
Marketing
$80,000
8/1/2022
Active
Frank Miller
frank@example.com
User
Sales
$90,000
5/20/2021
Inactive
Grace Lee
grace@example.com
Admin
HR
$105,000
12/1/2022
Active
Henry Zhang
henry@example.com
Editor
Engineering
$95,000
1/10/2023
Active
Ivy Chen
ivy@example.com
User
Marketing
$72,000
9/1/2023
Pending
10 of 10 row(s)

Rows per page

Page1 of 1

Custom Cells

PRO

Customized cell renderers

Pro Required
Ürün
Fiyat
Durum
MacBook Pro
Laptops
$2499
In Stock
iPhone 15
Phones
$999
In Stock
iPad Air
Tablets
$699
Low Stock
AirPods Pro
Audio
$249
In Stock
Apple Watch
Wearables
$399
Out of Stock
5 of 5 row(s)

Rows per page

Page1 of 1