@toolbox-web/grid-angular 2.0.0-beta → 2.0.0-rc.0
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.
- package/fesm2022/toolbox-web-grid-angular-features-editing.mjs +2 -2
- package/fesm2022/toolbox-web-grid-angular-features-editing.mjs.map +1 -1
- package/fesm2022/toolbox-web-grid-angular.mjs +26 -77
- package/fesm2022/toolbox-web-grid-angular.mjs.map +1 -1
- package/package.json +1 -1
- package/types/toolbox-web-grid-angular.d.ts +13 -59
- package/types/toolbox-web-grid-angular.d.ts.map +1 -1
|
@@ -657,9 +657,9 @@ class TbwEditor {
|
|
|
657
657
|
});
|
|
658
658
|
}
|
|
659
659
|
registerTemplate() {
|
|
660
|
-
// Find the parent tbw-grid-column element
|
|
660
|
+
// Find the parent tbw-grid-column or tbw-grid-type element
|
|
661
661
|
let parent = this.elementRef.nativeElement?.parentElement;
|
|
662
|
-
while (parent && parent.tagName !== 'TBW-GRID-COLUMN') {
|
|
662
|
+
while (parent && parent.tagName !== 'TBW-GRID-COLUMN' && parent.tagName !== 'TBW-GRID-TYPE') {
|
|
663
663
|
parent = parent.parentElement;
|
|
664
664
|
}
|
|
665
665
|
if (parent) {
|