@tetacom/ng-components 1.0.90 → 1.0.91
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.
|
@@ -7917,7 +7917,7 @@ class TableService {
|
|
|
7917
7917
|
return !!(obj && obj?.constructor && obj?.call && obj?.apply);
|
|
7918
7918
|
}
|
|
7919
7919
|
setColumnAutoWidth(column, table) {
|
|
7920
|
-
const cells = table.querySelectorAll(`teta-cell[data-column
|
|
7920
|
+
const cells = table.querySelectorAll(`teta-cell[data-column="${column.name}"] .cell-text`);
|
|
7921
7921
|
let maxWidth = 0;
|
|
7922
7922
|
cells.forEach((cell) => {
|
|
7923
7923
|
if (cell.scrollWidth > maxWidth) {
|