1.0.13 • Published 6 months ago

react-live-data-table v1.0.13

Weekly downloads
-
License
-
Repository
-
Last release
6 months ago

React Data Grid Table

A highly customizable and efficient data grid table for React. It supports features like live pagination, checkbox selection, dynamic data loading, scrollable body, and more. This component is designed to make handling tabular data easier and more interactive.


🚀 Installation

To install the package, run one of the following commands:

bash npm install react-data-grid-table

React Data Grid

A flexible React data grid component with support for pagination, row selection, and dynamic data handling.

Props

Required Props

PropTypeDescription
dataSourceArray \| FunctionThe data to display in the grid. Can be an array for static data or a function for server-side pagination
columnsArrayDefines the columns configuration

Optional Props

PropTypeDefaultDescription
loadingbooleanfalseShows loading state
maxHeightstring"600px"Maximum height of the grid
heightstring"600px"Fixed height of the grid
showCheckboxbooleanfalseEnable row selection
onSelectionChangeFunction-Callback when row selection changes
defaultLimitnumber50Rows per page
onRowClickFunction-Callback when row is clicked
livePaginationbooleanfalseEnable server-side pagination
staticDataArraynullStatic data array
emptyTextstring-Text shown when no data
rowHeightsnumber40Height of each row
headerPropsobject{}Custom header properties

Basic Usage

1.0.13

6 months ago

1.0.12

6 months ago

1.0.11

6 months ago

1.0.10

7 months ago

1.0.9

7 months ago

1.0.8

7 months ago

1.0.7

7 months ago

1.0.6

7 months ago

1.0.5

7 months ago

1.0.4

7 months ago

1.0.3

7 months ago

1.0.2

7 months ago

1.0.1

7 months ago

1.0.15

7 months ago