Skip to content

aldwinp35/React-Datatable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React-Datatable

Minimal example of a react datatable.

Basic Implementation

import React from "react";
import DataTable from "./DataTable";
import myData from "./mock_data.json";

function App() {
  return (
    <>
      <DataTable
        options={{
          data: myData,
          fields: ["first_name", "last_name", "email"]
        }}
      />
    </>
  );
}

export default App;

Options

  • data data to display.
  • fields (optional) fields to be shown in the table.
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy