代码拉取完成,页面将自动刷新
resolveData
is now capable of materializing data on it's own, the data
prop is no longer required as a prop-type.resolveData
prop when data
prop has changed, not any others.resolveData
prop to alter or materialize new data when the data
prop changes.column
to getResizerProps
(#667)getResizerProps
is now only called if the column is resizableclassName
ordering in defaultProps for ThComponent (#673)getPropTypes
proptype checkeslint-config
moved to dev depsonClick
proxying and eslintmakePathArray
in utils - #326defaultExpanded
now works correctly - #372column.getProps().rest
props are now applied correctlymakeTemplateComponent
now supports displayName
- #289column.filterAll
- defaults to false
, but when set to true
will provide the entire array of rows to filterMethod
as opposed to one row at a time. This allows for more fine-grained filtering using any method you can dream up. See the Custom Filtering example for more info.PadRowComponent
- the content rendered inside of a padding row. Defaults to a react component that renders
defaultSortDesc
- allows you to set the default sorting direction for all columns to descending.column.defaultSortDesc
- allows you to set the default sorting direction for a specific column. Falls back to the global defaultSortDesc
when not set at all.Aggregated
- Custom renderer for aggregated cellsPivot
- Custom renderer for Pivoted Cells (utilizes Expander
and PivotValue
)PivotValue
- Custom renderer for Pivot cell values (deprecates the undocumented pivotRender
option)Expander
- Custom renderer for Pivot cell ExpanderdefaultSortMethod
and per column via column.sortMethod
column.resizable
to override global table resizable
option for specific columns.column.sortable
to override global table sortable
option for specific columns.column.filterable
to override global table filterable
option for specific columns.defaultExpanded
table option.Cell
- deprecates and replaces render
Header
- deprecates and replaces header
Footer
- deprecates and replaces footer
Filter
- deprecates and replaces filterRender
onSorting
no longer requires you to build your own toggle logiconResize
no longer requires you to build your own resize logiconChange
callback -> onFetchData
which will always fire when a new data model needs to be fetched (or if not using manual
, when new data is materialized internally).filtering
-> filtered
sorting
-> sorted
expandedRows
-> expanded
resizing
-> resized
defaultResizing
-> defaultResized
defaultFiltering
-> defaultFiltered
defaultSorting
-> defaultSorted
onSortingChange
-> onSortedChange
onFilteringChange
-> onFilteredChange
onResize
-> onResizedChange
onExpandRow
-> onExpandedChange
showFilters
-> filterable
hideFilter
-> filterable
(Column option. Note the true/false value is now flipped.)cellInfo.row
and rowInfo.row
now reference the materialize data for the table. To reference the original row, use cellInfo.original
and rowInfo.original
pivotRender
column option. You can now control how the value is displayed by overriding the PivotValueComponent
or the individual column's PivotValue
renderer. See Pivoting Options Story for a reference on how to customize pivot column rendering.此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。