reactabular v7.0.0 Release Notes
Release Date: 2016-11-03 // over 7 years ago-
reactabular-dnd
- Breaking - Rework
moveRows
interface. Instead ofmoveRows(rows, { sourceRowId, targetRowId }) => rows
it'smoveRows({ rows, sourceRowId, targetRowId }) => rows
now.
reactabular-easy
- Bug fix - Pass
parentField
totree.filter
. Now toggling should work. - Breaking - Push
onMoveColumns
behavior out of table core. Now it doesn't maintain table state at all. As a result you need to implementonMoveColumns
handler like this to make column moving work:
onMoveColumns({ columns, source, target }) { this.setState({ columns }); }
reactabular-select
- Breaking - Push logic to selectabular. See the selection demo (features -> selecting rows) for the new, more powerful API.
reactabular-tree
- Bug fix - Allow
tree.toggleChildren
to work without columnprops
defined. - Feature - Add
tree.getImmediateChildren
. - Feature - Add
tree.moveRows
. - Breaking - Refactor
tree.filter
as({ fieldName, parentField = 'parent' }) => (rows) => filteredRows
.
reactabular-utils
- Bug fix - If
rowKey
value is zero,resolveRowKey
should return0-row
. - Feature - Allow
colSpan
androwSpan
to be overridden atresolveHeaderRows
.
- Breaking - Rework