How to use the @pebula/ngrid/overlay-panel.PblNgridOverlayPanelComponentExtension function in @pebula/ngrid

To help you get started, we’ve selected a few @pebula/ngrid examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github shlomiassaf / ngrid / libs / ngrid-material / context-menu / src / lib / context-menu.module.ts View on Github external
constructor(@Optional() @SkipSelf() parentModule: PblNgridContextMenuModule,
              registry: PblNgridRegistryService,
              cfr: ComponentFactoryResolver,
              configService: PblNgridConfigService) {
    if (parentModule) {
      return;
    }
    registry.addMulti('dataHeaderExtensions', new MatHeaderContextMenuExtension(cfr));
    registry.addMulti('overlayPanels', new PblNgridOverlayPanelComponentExtension('excelMenu', MatExcelStyleHeaderMenu, cfr));
  }
}