Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
pui-react-sortable-table
Advanced tools
A React component that provides a table that can be sorted by column
A React component that provides a table that can be sorted by column
Pivotal UI React (GitHub, npm) is a collection of React components for rapidly building and prototyping UIs.
This component requires React v0.13
See the Pivotal UI Styleguide for fully rendered examples.
Wrapper for a th
sortable
boolean
: (defaults to false) indicates whether the table can be sorted by this column;Wrapper for a td
Wrapper for a tr
A table that can be sorted by column
var {SortableTable, TableHeader, TableRow, TableCell} = require('pui-react-sortable-table');
var MyComponent = React.createClass({
render() {
var headers = [
<TableHeader sortable={true}>c1</TableHeader>,
<TableHeader sortable={true}>c2</TableHeader>,
];
var data = [
{c1: 'yes', c2: 'foo'},
{c1: 'no', c2: 'bar'}
];
return <SortableTable headers={headers}>
{sortTableData.map(function(datum, key) {
return (
<TableRow key={key}>
<TableCell>{datum.c1}</TableCell>
<TableCell>{datum.c2}</TableCell>
</TableRow>
);
})}
</SortableTable>;
}
});
headers
Array<Object>
: A list of TableHeader
components(c) Copyright 2015 Pivotal Software, Inc. All Rights Reserved.
FAQs
A React component that provides a table that can be sorted by column
The npm package pui-react-sortable-table receives a total of 22 weekly downloads. As such, pui-react-sortable-table popularity was classified as not popular.
We found that pui-react-sortable-table demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 14 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.