+ {column.id === 'selection' ? (
+
{
+ const eventTarget = event.target as HTMLInputElement;
+ if (onToggleAll) {
+ onToggleAll(eventTarget.checked);
+ }
+ if (onMultiSelectionChanged) {
+ if (isAllRowsSelected) {
+ onMultiSelectionChanged([]);
+ } else {
+ onMultiSelectionChanged(rows);
+ }
+ }
+ }}
+ >
+ {column.render('Header')}
+
+ ) : (
+ column.render('Header')
+ )}
+
+
+