Uh oh!
There was an error while loading. Please reload this page.
Elements overriding - #171
Conversation
coveralls
commented
Oct 25, 2017
715ff05 to
4c8d472Comparecoveralls
commented
Oct 25, 2017
afc163
commented
Oct 25, 2017
Yeah, aligned cell can be implemented through custom component: constCenterCell=(props)=><th{...props}style={{textAlign: 'center'}}/>;<Tablecomponents={{body: {cell: CenterCell}}}/> |
afc163
commented
Oct 25, 2017
column.align will be easier to use. |
4c8d472 to
ac3c4deComparecoveralls
commented
Oct 25, 2017
yesmeck
commented
Oct 25, 2017
After introducing |
yesmeck
commented
Oct 25, 2017
|
ac3c4de to
e7458aeComparecoveralls
commented
Oct 26, 2017
补充一下 |
creeefs
commented
Jun 28, 2019
@yesmeck Is there a way to just wrap the |
ashirbad29
commented
Mar 27, 2024
do components work in virtual table ? I have been trying to add a custom row component but it seems it is getting ignored when virtual table is enabled. |
This PR addresses many long living issues.
Added
componentsto allow overriding default table elements.Added
onRow,onHeaderRow,column[onCell]andcolumn[onHeaderCell]to allow overriding row and cell props.Integrate with react-dnd
See https://yesmeck.github.io/table/examples/react-dnd.html
Closeant-design/ant-design#4639, #83
Integrate with styled-components
See https://yesmeck.github.io/table/examples/styled-components.html.
Ability to add any event listener to the table element with
onRowandonCellDon't need add tons of
onRowXXXprops.Closeant-design/ant-design#7096, #127, #141, #117, #149
Ability to optimize table row with sCU
Related ant-design/ant-design#2884
Others
Closeant-design/ant-design#5776, #139