es-grid-template 1.8.23 → 1.8.24
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.
|
@@ -249,7 +249,7 @@ const TableHeadCell2 = props => {
|
|
|
249
249
|
[`${prefix}-grid-filter-column`]: column.id !== 'selection_column',
|
|
250
250
|
[`${prefix}-grid-selection-column`]: column.id === 'selection_column'
|
|
251
251
|
})
|
|
252
|
-
}, column.id === 'selection_column' && selectionSettings && selectionSettings.hideSelectAll !==
|
|
252
|
+
}, column.id === 'selection_column' && selectionSettings && selectionSettings.hideSelectAll !== true && selectionSettings.type !== 'single' && selectionSettings.mode !== 'radio' && /*#__PURE__*/React.createElement(Checkbox, {
|
|
253
253
|
checked: table.getIsAllRowsSelected(),
|
|
254
254
|
indeterminate: table.getIsSomeRowsSelected(),
|
|
255
255
|
onChange: e => {
|
|
@@ -258,7 +258,7 @@ const TableHeadCell2 = props => {
|
|
|
258
258
|
[`${prefix}-grid-filter-column`]: column.id !== 'selection_column',
|
|
259
259
|
[`${prefix}-grid-selection-column`]: column.id === 'selection_column'
|
|
260
260
|
})
|
|
261
|
-
}, column.id === 'selection_column' && selectionSettings && selectionSettings.hideSelectAll !==
|
|
261
|
+
}, column.id === 'selection_column' && selectionSettings && selectionSettings.hideSelectAll !== true && selectionSettings.type !== 'single' && selectionSettings.mode !== 'radio' && /*#__PURE__*/_react.default.createElement(_rcMasterUi.Checkbox, {
|
|
262
262
|
checked: table.getIsAllRowsSelected(),
|
|
263
263
|
indeterminate: table.getIsSomeRowsSelected(),
|
|
264
264
|
onChange: e => {
|