All Projects → coston → React Super Responsive Table

coston / React Super Responsive Table

Licence: mit
Turn the tables on unresponsive data!

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to React Super Responsive Table

Iota
A responsive micro-framework for the grid spec powered by CSS custom properties.
Stars: ✭ 189 (-8.7%)
Mutual labels:  responsive-design
Karyoploter
karyoploteR - An R/Bioconductor package to plot arbitrary data along the genome
Stars: ✭ 192 (-7.25%)
Mutual labels:  data-visualization
Discovery
Frontend framework for rapid data (JSON) analysis, sharable serverless reports and dashboards
Stars: ✭ 199 (-3.86%)
Mutual labels:  data-visualization
Gradio
Create UIs for your machine learning model in Python in 3 minutes
Stars: ✭ 4,358 (+2005.31%)
Mutual labels:  data-visualization
Hugo Theme Bootstrap4 Blog
A blogging-centric Bootstrap v4 theme for the Hugo static site generator.
Stars: ✭ 191 (-7.73%)
Mutual labels:  responsive-design
Ivory
IVORY is simple and highly customizable CSS framework, gives you all to build your pages faster and easier.
Stars: ✭ 196 (-5.31%)
Mutual labels:  responsive-design
Volbx
Graphical tool for data manipulation written in C++/Qt
Stars: ✭ 187 (-9.66%)
Mutual labels:  data-visualization
Koolreport
This is an Open Source PHP Reporting Framework which you can use to write perfect data reports or to construct awesome dashboards using PHP
Stars: ✭ 204 (-1.45%)
Mutual labels:  data-visualization
Klib
Easy to use Python library of customized functions for cleaning and analyzing data.
Stars: ✭ 192 (-7.25%)
Mutual labels:  data-visualization
Quark
Quark is a data visualization framework.
Stars: ✭ 198 (-4.35%)
Mutual labels:  data-visualization
Elastic Charts
📊 Elastic Charts library
Stars: ✭ 191 (-7.73%)
Mutual labels:  data-visualization
Data Set
state driven all in one data process for data visualization
Stars: ✭ 191 (-7.73%)
Mutual labels:  data-visualization
Intermine
A powerful open source data warehouse system
Stars: ✭ 195 (-5.8%)
Mutual labels:  data-visualization
Graphvega
Open Source Options Analytics Platform.
Stars: ✭ 189 (-8.7%)
Mutual labels:  data-visualization
Obscurify
Find out more about your music taste and compare it to others' with Obscurify
Stars: ✭ 200 (-3.38%)
Mutual labels:  data-visualization
Argon Design System
Argon - Design System for Bootstrap 4 by Creative Tim
Stars: ✭ 2,307 (+1014.49%)
Mutual labels:  responsive-design
Leaflet.extras
Extra functionality for leaflet R package.
Stars: ✭ 193 (-6.76%)
Mutual labels:  data-visualization
Ggcharts
Get You to Your Desired Plot Faster
Stars: ✭ 205 (-0.97%)
Mutual labels:  data-visualization
Python Novice Inflammation
Programming with Python
Stars: ✭ 199 (-3.86%)
Mutual labels:  data-visualization
L7
🌎 Large-scale WebGL-powered Geospatial Data Visualization analysis framework which relies on Mapbox GL or AMap to render basemaps.
Stars: ✭ 2,517 (+1115.94%)
Mutual labels:  data-visualization

react-super-responsive-table

Coverage Status npm downloads code style: prettier

react-super-responsive-table converts your table data to a user-friendly list in mobile view.

Demo

Demo Gif

Live demo: https://react-super-responsive-table.netlify.com

Installation

npm install react-super-responsive-table --save

Usage

  1. import { Table, Thead, Tbody, Tr, Th, Td } from 'react-super-responsive-table'
  2. Copy or import react-super-responsive-table/dist/SuperResponsiveTableStyle.css into your project
  3. Write your html table with the imported components.
import React from 'react';
import { Table, Thead, Tbody, Tr, Th, Td } from 'react-super-responsive-table';
import 'react-super-responsive-table/dist/SuperResponsiveTableStyle.css';

export default function TableExample(props) {
  return (
    <Table>
      <Thead>
        <Tr>
          <Th>Event</Th>
          <Th>Date</Th>
          <Th>Location</Th>
        </Tr>
      </Thead>
      <Tbody>
        <Tr>
          <Td>Tablescon</Td>
          <Td>9 April 2019</Td>
          <Td>East Annex</Td>
        </Tr>
        <Tr>
          <Td>Capstone Data</Td>
          <Td>19 May 2019</Td>
          <Td>205 Gorgas</Td>
        </Tr>
        <Tr>
          <Td>Tuscaloosa D3</Td>
          <Td>29 June 2019</Td>
          <Td>Github</Td>
        </Tr>
      </Tbody>
    </Table>
  );
}

Using Dynamic Headers

Headers are statefully stored on first render of the table, since the library doesn't use props for them and just checks the children of the thead to build its internal list of headers upon construction. To use dynamic headers, use a key prop to ensure the components are all internally updated when you're making this kind of change.

<Table key={i}>
  <Thead>
    <Tr>
      <Th>{headers[0]}</Th>
      <Th>{headers[1]}</Th>
    </Tr>
  </Thead>
  <Tbody>
    <Tr>
      <Td>item 1</Td>
      <Td>item 2</Td>
    </Tr>
  </Tbody>
</Table>

Contributors

Super Responsive Tables are made possible by these great community members:

Contributing

Please help turn the tables on unresponsive data! Submit an issue and/or make a pull request. Check the projects board for tasks to do.

License

Licensed under the MIT license.

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].