Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
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.
See the Pivotal UI Styleguide for fully rendered examples.
A table that can be sorted by column
var SortableTable = require('pui-react-sortable-table').SortableTable;
var MyComponent = React.createClass({
render() {
var columns = [
{name: 'c1', title: 'Column 1', sortable: true},
{name: 'c2', title: 'Column 2'}
];
var data = [
{c1: 'yes', c2: 'foo'},
{c1: 'no', c2: 'bar'}
];
return <SortableTable data={data} columns={columns} classes={['my-table']}/>;
}
});
columns
Array<Object>
: A list of column configuration parameters:
name
is the data
key associated with the column;
title
is the header text for the column;
sortable
(defaults to false) indicates whether the table can be sorted by this column; and
align
(defaults to left) sets the text alignment for cells in this columndata
Array<Object>
: The data to be displayed in the tableclasses
Array<String>
: Class names to add to the table(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 2 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
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
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.