indentSize for every level of data.i.children, better using with column.width specified
onRowClick[deprecated]
Function(record, index)
handle rowClick action, index means the index of current row among fatherElement[childrenColumnName]
onRowDoubleClick[deprecated]
Function(record, index)
handle rowDoubleClick action, index means the index of current row among fatherElement[childrenColumnName]
onRowMouseEnter[deprecated]
Function(record, index)
handle onRowMouseEnter action, index means the index of current row among fatherElement[childrenColumnName]
onRowMouseLeave[deprecated]
Function(record, index)
handle onRowMouseLeave action, index means the index of current row among fatherElement[childrenColumnName]
onRow
Function(record, index)
Set custom props per each row.
onHeaderRow
Function(record, index)
Set custom props per each header row.
showHeader
Boolean
true
whether table head is shown
title
Function(currentData)
table title render function
footer
Function(currentData)
table footer render function
getBodyWrapper[deprecated]
Function(body)
get wrapper of tbody, [demo](http://react-component.github.io/table/examples/animation.html)
emptyText
React.Node or Function
`No Data`
Display text when data is empty
columns
Object[]
The columns config of table, see table below
components
Object
Override table elements, see [#171](https://github.com/react-component/table/pull/171) for more details
## Column Props
Name
Type
Default
Description
key
String
key of this column
className
String
className of this column
colSpan
Number
thead colSpan of this column
title
React Node
title of this column
dataIndex
String
display field of the data record
width
String|Number
width of the specific proportion calculation according to the width of the columns
fixed
String|Boolean
this column will be fixed when table scroll horizontally: true or 'left' or 'right'
align
String
specify how cell content is aligned
ellipsis
Boolean
specify whether cell content be ellipsized
onCell
Function(record, index)
Set custom props per each cell.
onHeaderCell
Function(record)
Set custom props per each header cell.
render
Function(value, row, index)
The render function of cell, has three params: the text of this cell, the record of this row, the index of this row, it's return an object:{ children: value, props: { colSpan: 1, rowSpan:1 } } ==> 'children' is the text of this cell, props is some setting of this cell, eg: 'colspan' set td colspan, 'rowspan' set td rowspan
onCellClick[deprecated]
Function(row, event)
Called when column's cell is clicked
## License
rc-table is released under the MIT license.