6.2.5 • Published 10 years ago

@canner/rc-table v6.2.5

Weekly downloads
2
License
-
Repository
github
Last release
10 years ago

@canner/rc-table

React table component.

NPM version build status Test coverage gemnasium deps npm download

install

@canner/rc-table

Development

npm install
npm start

Example

Original

http://react-component.github.io/table/examples/

fork version

http://canner.github.io/table/examples/

Usage

import Table from '@canner/rc-table';

const columns = [{
  title: 'Name', dataIndex: 'name', key:'name', width: 100,
}, {
  title: 'Age', dataIndex: 'age', key:'age', width: 100,
}, {
  title: 'Address', dataIndex: 'address', key:'address', width: 200,
}, {
  title: 'Apeartions', dataIndex: '', key:'opeartions', render: () => <a href="#">Delete</a>,
}];

const data = [
  { name: 'Jack', age: 28, address: 'some where', key:'1' },
  { name: 'Rose', age: 36, address: 'some where', key:'2' },
];

React.render(<Table columns={columns} data={data} />, mountNode);

API

Properties

Column Props

License

@canner/rc-table is released under the MIT license.

6.2.5

10 years ago

6.2.4

10 years ago

6.2.3

10 years ago

6.2.2

10 years ago

6.2.1

10 years ago

6.2.0

10 years ago

6.1.1

10 years ago

6.1.0

10 years ago

6.0.2

10 years ago

6.0.1

10 years ago

6.0.0

10 years ago