Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tree Grid does not work #86

Open
bagerman opened this issue Aug 22, 2020 · 0 comments
Open

Tree Grid does not work #86

bagerman opened this issue Aug 22, 2020 · 0 comments

Comments

@bagerman
Copy link

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant