mirror of
https://github.com/gosticks/react-table.git
synced 2026-06-28 17:10:01 +00:00
pivotBy prop now defaults to undefined
This commit is contained in:
@@ -28,7 +28,7 @@ export const ReactTableDefaults = {
|
||||
onSortingChange: undefined,
|
||||
|
||||
// Pivoting
|
||||
pivotBy: [],
|
||||
pivotBy: undefined,
|
||||
pivotColumnWidth: 200,
|
||||
pivotValKey: '_pivotVal',
|
||||
pivotIDKey: '_pivotID',
|
||||
@@ -691,7 +691,7 @@ export default React.createClass({
|
||||
getDataModel (nextProps, nextState) {
|
||||
const {
|
||||
columns,
|
||||
pivotBy,
|
||||
pivotBy = [],
|
||||
data,
|
||||
pivotIDKey,
|
||||
pivotValKey,
|
||||
|
||||
Reference in New Issue
Block a user