Add selectionHeaderRenderer hook and make the width of the selection checkbox column configurable.
This commit is contained in:
+1
-1
@@ -127,7 +127,7 @@ class TpTableItem extends BaseElement {
|
||||
.join(' ');
|
||||
|
||||
if (this.selectable && this.selectionMode !== 'row-click') {
|
||||
colWidths = '40px ' + colWidths;
|
||||
colWidths = 'var(--tp-table-checkbox-column-width, 40px) ' + colWidths;
|
||||
}
|
||||
|
||||
this.$grid.style.gridTemplateColumns = colWidths;
|
||||
|
||||
Reference in New Issue
Block a user