Add selectionHeaderRenderer hook and make the width of the selection checkbox column configurable.

This commit is contained in:
2026-06-24 10:13:36 +02:00
parent 3b5245ce84
commit 86d5a507eb
4 changed files with 24 additions and 3 deletions
+1 -1
View File
@@ -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;