ngx-admin-bundle-support icon indicating copy to clipboard operation
ngx-admin-bundle-support copied to clipboard

Tree Grid does not work

Open bagerman opened this issue 5 years ago • 0 comments

The following exception is thrown while trying to integrate TreeGrid component by following example provided in documentation for the Data Source use This is html code at line referenced below in stack : at AllAnalyticsComponent_Template (all-analytics.component.html:5) <table [nbTreeGrid]="source"> Exception stack

TypeError: Cannot read property 'nativeElement' of null
    at new CdkTable (table.js:1265)
    at new NbTable (index.js:18425)
    at new NbTreeGridComponent (index.js:25275)
    at NodeInjectorFactory.NbTreeGridComponent_Factory [as factory] (index.js:25416)
    at getNodeInjectable (core.js:4029)
    at instantiateAllDirectives (core.js:7963)
    at createDirectivesInstances (core.js:7329)
    at Module.ɵɵelementStart (core.js:13901)
    at AllAnalyticsComponent_Template (all-analytics.component.html:5)
    at executeTemplate (core.js:7302)
    at resolvePromise (zone-evergreen.js:798)
    at resolvePromise (zone-evergreen.js:750)
    at zone-evergreen.js:860
    at ZoneDelegate.invokeTask (zone-evergreen.js:399)
    at Object.onInvokeTask (core.js:27424)
    at ZoneDelegate.invokeTask (zone-evergreen.js:398)
    at Zone.runTask (zone-evergreen.js:167)
    at drainMicroTaskQueue (zone-evergreen.js:569)
    at ZoneTask.invokeTask [as invoke] (zone-evergreen.js:484)
    at invokeTask (zone-evergreen.js:1621)

bagerman avatar Aug 22 '20 00:08 bagerman