@insticc/react-datagrid-2 1.0.35 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -75,7 +75,7 @@ var ActionButton = function ActionButton(_ref) {
|
|
|
75
75
|
if (selectionMode === 'single') {
|
|
76
76
|
return selectedRowCount !== 1;
|
|
77
77
|
} else if (selectionMode === 'multi') {
|
|
78
|
-
return selectedRowCount
|
|
78
|
+
return selectedRowCount >= 1;
|
|
79
79
|
} else {
|
|
80
80
|
return false;
|
|
81
81
|
}
|
package/build/wrapper/index.js
CHANGED
|
@@ -273,7 +273,7 @@ var DataGrid = function DataGrid(_ref) {
|
|
|
273
273
|
}
|
|
274
274
|
},
|
|
275
275
|
columnResizeMode: 'onEnd',
|
|
276
|
-
|
|
276
|
+
enableColumnFilterModes: enableColumnFilterModes,
|
|
277
277
|
globalFilterFn: globalFilterFn,
|
|
278
278
|
positionPagination: pagination,
|
|
279
279
|
paginationDisplayMode: 'pages',
|