@toolbox-web/grid-angular 2.0.0-beta → 2.0.0-beta.1

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.
@@ -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) {