All Projects → sahabpardaz → ctablex

sahabpardaz / ctablex

Licence: Apache-2.0 license
Featureable, flexible and powerful react table.

Programming Languages

typescript
32286 projects
shell
77523 projects

Projects that are alternatives of or similar to ctablex

react-table-library
🍱 React Table Library
Stars: ✭ 135 (+694.12%)
Mutual labels:  table, datagrid, react-table
ag-grid
The best JavaScript Data Table for building Enterprise Applications. Supports React / Angular / Vue / Plain JavaScript.
Stars: ✭ 8,743 (+51329.41%)
Mutual labels:  table, datagrid, react-table
Reactgrid
Add spreadsheet-like behavior to your React app
Stars: ✭ 289 (+1600%)
Mutual labels:  table, datagrid
Datatablesbundle
This Bundle integrates the jQuery DataTables plugin into your Symfony application.
Stars: ✭ 334 (+1864.71%)
Mutual labels:  table, datagrid
Datatable
A simple, modern and interactive datatable library for the web
Stars: ✭ 587 (+3352.94%)
Mutual labels:  table, datagrid
tablex
virtualized and extendable tables and datagrids for React
Stars: ✭ 39 (+129.41%)
Mutual labels:  table, react-table
Material Table
Datatable for React based on material-ui's table with additional features
Stars: ✭ 3,198 (+18711.76%)
Mutual labels:  table, datagrid
Ngx Datatable
✨ A feature-rich yet lightweight data-table crafted for Angular
Stars: ✭ 4,415 (+25870.59%)
Mutual labels:  table, datagrid
Grid
Declarative React Canvas Grid primitive for Data table, Pivot table, Excel Worksheets and more 💥
Stars: ✭ 573 (+3270.59%)
Mutual labels:  table, datagrid
React Bootstrap Table
A Bootstrap table built with React.js
Stars: ✭ 2,238 (+13064.71%)
Mutual labels:  table, react-table
React Table
⚛️ Hooks for building fast and extendable tables and datagrids for React
Stars: ✭ 15,739 (+92482.35%)
Mutual labels:  table, datagrid
react-datatable
React-datatable is a component which provide ability to create multifunctional table using single component like jQuery Datatable. It's fully customizable and easy to integrate in any react component. Bootstrap compatible.
Stars: ✭ 72 (+323.53%)
Mutual labels:  table, react-table
right-angled
Lightweight and easy to use angular data grids which integrates with your markup and styles rather than generating its own
Stars: ✭ 70 (+311.76%)
Mutual labels:  table, datagrid
Gijgo
Gijgo - Free Javascript Controls
Stars: ✭ 424 (+2394.12%)
Mutual labels:  table, datagrid
Ka Table
Lightweight MIT React Table component for both TS and JS with Sorting, Filtering, Grouping, Virtualization, Editing and many more
Stars: ✭ 117 (+588.24%)
Mutual labels:  table, datagrid
Griddle
Simple Grid Component written in React
Stars: ✭ 2,494 (+14570.59%)
Mutual labels:  table, datagrid
editable-react-table
React table built to resemble a database.
Stars: ✭ 519 (+2952.94%)
Mutual labels:  table, datagrid
BeeGridTable
BeeGridTable , is a Highly Customizable Table UI component library based on Vue.js. Rich functions、More efficient、Easy to use!
Stars: ✭ 45 (+164.71%)
Mutual labels:  table
datalist
Turns your data into a table with Relay Modern RefetchContainer
Stars: ✭ 12 (-29.41%)
Mutual labels:  table
python-realtime-table
Building realtime table using Python and Channels
Stars: ✭ 12 (-29.41%)
Mutual labels:  table

ctablex

NPM version NPM downloads Build Status codecov

Featureable, flexible and powerful react table. ctablex will not hold you back and let you customize table UI and behavior. ctablex name is the combination of table and ctx (context).

Install

yarn add @ctablex/core

Usage

import React from 'react';
import {
  DataTable,
  Columns,
  Column,
  Table,
} from '@ctablex/core';

const data = [
    id: '1',
    name: 'Gloves',
    price: 544,
    count: 5,
  },
  {
    id: '2',
    name: 'Salad',
    price: 601,
    count: 6,
  },
  {
    id: '3',
    name: 'Keyboard',
    price: 116,
    count: 1,
  },
];
export function MyTable() {
  return (
    <DataTable data={data}>
      <Columns>
        <Column header="Name" accessor="name" />
        <Column header="Price" accessor="price" />
        <Column header="Count" accessor="count" />
      </Columns>
      <Table />
    </DataTable>
  );
}

live demo, source code

The Table component

The Table/TableHeader/HeaderRow/TableBody/Rows/Row components have default children. so when you write <Table />, it's equal to you write the following codes:

<Table>
  <TableHeader>
    <HeaderRow>
      <Columns />
    </HeaderRow>
  </TableHeader>
  <TableBody>
    <Rows>
      <Row>
        <Columns />
      </Row>
    </Rows>
  </TableBody>
</Table>

The Columns component

You can assume <Columns /> component somehow renders Columns' children defined in the first part (definition part).

<DataTable data={data}>
  <Columns>
    {/* begin children definition */}
    <Column header="Name" accessor="name" />
    <Column header="Price" accessor="price" />
    <Column header="Count" accessor="count" />
    {/* end children definition */}
  </Columns>
  <TableBody>
    <Rows>
      <Row>
        <Columns />
      </Row>
    </Rows>
  </TableBody>
</DataTable>

is equal to

<DataTable data={data}>
  <TableBody>
    <Rows>
      <Row>
        <Column header="Name" accessor="name" />
        <Column header="Price" accessor="price" />
        <Column header="Count" accessor="count" />
      </Row>
    </Rows>
  </TableBody>
</DataTable>

Changelog

Please read the changelog here.

License

This project is licensed under the terms of the Apache License 2.0.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].