Enhanced DataTable Component for NextUI #4404
rajaahsan365
started this conversation in
Feature requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Introduction:
NextUI provides a rich set of UI components, but currently lacks a fully-featured DataTable component comparable to popular libraries like
react-table
,material-table
, ormui-datatables
. This proposal outlines the need for a more robust DataTable within NextUI and suggests key features and functionalities to enhance the developer experience.Problem Statement:
The current options for displaying tabular data within NextUI are limited. Developers often resort to using third-party libraries, which can lead to inconsistencies in styling, theming, and overall integration with the NextUI ecosystem. A native, powerful DataTable component would address this issue and provide a seamless experience for NextUI users.
Proposed Solution:
We propose developing a new DataTable component for NextUI that offers the following features:
Core Features:
accessor
: Key for accessing data.header
: Display name for the column header.Cell
: Custom cell rendering for complex data display (e.g., images, links, custom components).sortable
: Enable/disable sorting for the column.filterable
: Enable/disable filtering for the column.width
: Control column width.align
: Control column content alignment.Example Usage (Conceptual):
Beta Was this translation helpful? Give feedback.
All reactions