JSPM

react-dynamic-data-table-component

1.2.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q12680F
  • License MIT

Package Exports

  • react-dynamic-data-table-component
  • react-dynamic-data-table-component/dist/index.es.js
  • react-dynamic-data-table-component/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-dynamic-data-table-component) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

React Dynamic Datatable

Welcome to React Dynamic DataTable, a powerful and flexible React data table library designed to supercharge your data presentation in web applications. Whether you're building a robust dashboard, a comprehensive management system, or a data-driven application, our library empowers you with a feature-rich and customizable data table component.

import DynamicTable from 'react-dynamic-data-table-component;

const columns = [
    {
        id: 'nameId', //must provide a id
        name: "Name",
        selector: "name",
        sortable: true,
        width: "130px",
        isFixed: true,
        unResizable: true
    },
    {
        id: 'addressId',
        name: "Address",
         cell: (row) => row.address,
        sortable: true,
        width: "130px",

    }
]

const data=[
  {
    "id": 1,
    "name": "John Doe",
    "age": 25,
    "email": "johndoe@example.com",
    "address": "142 Center Street, Los Angeles, CA 90012",
    "city": "Anytown",
    "country": "USA",

  },
  {
    "id": 2,
    "name": "Alice Smith",
    "age": 30,
    "email": "alice.smith@example.com",
    "address": "456 Elm St",
    "city": "Otherville",
    "country": "Canada",

  }
]


<DynamicTable data={data} columns={columns} tableId='AN_UNIQUE_ID' />