- Rewrite in typescript
- Fix
scroll={{ x: 'max-content' }}
not working.
- Add
tableLayout
, could be set tofixed
: https://developer.mozilla.org/en-US/docs/Web/CSS/table-layout - Add
column.ellipsis
to ellipsize cell content.
- Show icon if using
expandIcon
even ifexpandRowByClick
is set
- Fixed Table header extra vertial scrollbar style.
- Add internal interface for col definition.
- Revert 112346 since too many edge cases.
- Fixed header will read cell width from body.
- Add
expanded
as the fourth parameter toexpandedRowRender
.
- Refactor.
- Allow override default examples.
- Add Table[onRow] and column[onCell].
- Add column[align].
- Better empty data style for fixed-columns Table.
- Add
onRowContextMenu
- Add
onRowMouseEnter
,onRowMouseLeave
.
emptyText
support React.Node
- Remove props
columnsPageSize
andcolumnsPageRange
, use fixed columns instead. - Add prop
onRowDoubleClick
. - Improve perfermance when expand row.
Add prop emptyText
.
Add indent
as third argument to rowClassName
rowRef
expandRowClassName
。
Add original event param for onRowClick
Add expandRowByClicky
prop, allow expanding the row by clicking it.
Fix ant-design/ant-design#2729
Fix ant-design/ant-design#2625
- Improve row and cell render perfermance.
- Fix row expand of key 0 record. (ant-design/ant-design#2471)
- support
rowKey="uid"
- Header can be scroll in fixed-columns Table
- Support nested string of
dataIndex
- Fix fixed Table with expand row
- Support fixed columns
- Add
scroll
prop - Add
defaultExpandAllRows
prop - Add
onExpand
prop - Add
rowRef
prop
- Add prop
showHeader
- support render footer via
footer={() => <div>xxx</div>}
- Add prop expandIconColumnIndex
- support pinned and paging columns.
- Add
onRowClick
- Add
childenIndent
- add defaultExpandedRowKeys/expandedRowKeys/onExpandedRowsChange prop
- Add colSpan and rowSpan support
- support react 0.14
- add expandIconAsCell prop