Replace original plain object. ```jsx const columns = [{ title: "xxx", className: "classNameOfColumn", render: () => <Table.Cell className="" onClick={} rowSpan={}>xxx</Table.Cell>, }] ``` @yesmeck what do you think?
Activity
yesmeck commentedon Apr 15, 2017
Looks good to me.
plandem commentedon Apr 16, 2017
depends on performance.
paranoidjk commentedon May 19, 2017
what's the proposal api looks like?
yesmeck commentedon May 24, 2017
One problem if we provide
Table.Cell, consider following situation:If use
Table.Cellin the first column, we can not insert the expand icon the first column any more.yesmeck commentedon May 27, 2017
现在感觉 Reactabular 这种能自定义 component 的方式灵活性更好
https://reactabular.js.org/#/table/overriding-default-elements