reactabular v6.0.0 Release Notes
Release Date: 2016-10-14 // over 7 years ago-
reactabular-easy
- Breaking - Expose
idField
andparentField
props
for customizing tree field types. EarlierrowKey
handledidField
but now it has been separated for clarity. - Breaking - Drop
styles
prop. Useprops
instead.
reactabular-search
- Breaking -
search.multipleColumns
andsearch.singleColumn
now accept acastingStrategy
parameter to define how to cast properties when searching. By default, everything by arrays is cast to a string. - Feature -
search.matches
now traverses arrays and returns results in the same shape.
reactabular-search-columns
- Bug fix - Make toggling behavior rely on
property
overid
. Now the behavior is more consistent with filtered sets. #216 - Bug fix - If
column.property
is not set, generate key based on column index instead.
reactabular-resizable
- Breaking - Drop
styles
prop. Useprops
instead.
reactabular-sort
- Breaking - Drop
styles
prop. Useprops
instead.
reactabular-table
- Feature - Allow table body and body row
shouldComponentUpdate
to be overridden.
reactabular-tree
- Breaking - Merge
tree.flatten
withtree.unpack
. The new signature fortree.unpack
istree.unpack = ({ parentField = 'parent', parent, idField = 'id'}) => (rows) => <unpackedRows>
. - Breaking - Rework API so that all functions except
tree.toggleChildren
work in curry format ((...) => (rows) => <new rows>
). This way the API is consistent and easy to extend. - Breaking - Expose
childrenField
fortree.pack
andtree.unpack
. It defaults tochildren
. - Breaking - Make
tree.pack
to work in a recursive manner (packs children within children). - Breaking - Make
tree.search
match against children as well. If children as matched, it will return parents as well. - Feature - Add
tree.getChildren
utilities for getting node children.
reactabular-virtualized
- Feature - Add
scrollTo(index)
method toVirtualized.Body
ref
.
- Breaking - Expose