You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

pui-react-sortable-table

Package Overview
Dependencies
Maintainers
4
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pui-react-sortable-table

sortable-table

0.0.2
Source
npm
Version published
Weekly downloads
7
-56.25%
Maintainers
4
Weekly downloads
 
Created
Source

Pui-react-sortable-table

The SortableTable component is a robust component that offers a styled table with fully functioning sort.

var sortTableCols = [
  {
    name: 'name',
    title: 'Name',
    sortable: true
  },
  {
    name: 'instances',
    title: 'Instances',
    sortable: true,
    align: 'center'
  },
  {
    name: 'cpu',
    title: 'CPU',
    sortable: true,
    align: 'right'
  },
  {
    name: 'synergy',
    title: 'Synergy',
    align: 'left'
  }
]

var sortTableData = [
  {
    instances: '1',
    name: 'foo',
    cpu: 'po',
    synergy: 'qum',
    ram: 'bee',
  },
  {
    name: 'yee',
    instances: 'di',
    cpu: 'no',
    synergy: 'aum'
  },
  {
    name: 'zee',
    instances: 'si',
    cpu: 'mo',
    synergy: 'wum'
  },
  {
    name: 'jee',
    instances: 'ui',
    cpu: 'no',
    synergy: 'mum'
  }
];
<SortableTable
  data={sortTableData}
  columns={sortTableCols}
  classes={['table-data', 'table-light']} />

This is a component of Pivotal UI React.

Styleguide Github

All Pivotal UI Components require ReactJS (0.12.x)

(c) Copyright 2015 Pivotal Software, Inc. All Rights Reserved.

Keywords

bootstrap

FAQs

Package last updated on 20 Apr 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts