How can I get access to Ng2SmartTableComponent component inside my class
See original GitHub issueAfter updating to v 1.5.0 I am not able to get access Ng2SmartTableComponent inside my class. When I try to import Ng2SmartTableComponent and use it like following
import { Ng2SmartTableComponent} from 'ng2-smart-table';
@ViewChild('atribTbl', { static: false }) atribTable: Ng2SmartTableComponent;
It throws error saying Ng2SmartTableComponent not found.
Appreciate your response and help in this issue.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5
Top Results From Across the Web
how to pass data to ng2-smart-table renderComponent from ...
tricky solution: prepare data for SelectComponent before render component with table. container.component.ts: ngOnInit() { this.userService.
Read more >Smart Tables Integration and usage with Angular 6 - Zeolearn
We will generate a component called table using ng g c table. The ng command will not only create a default component but...
Read more >Angular 13 Smart Table Guide - AppDividend
Step 3: Create a Table Component. ... Type the following command to generate the component. ... Now, import this component inside the app.component....
Read more >vamidicreations/ng2-smart-table - npm
First thing you need to do is to import the ng2-smart-table directives into your component. import { Ng2SmartTableModule } from '@ ...
Read more >ng2-smart-table In Angular - C# Corner
Add Setting Property inside component and create array for display data. public settings = {; columns: {; id: { ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Same here. There’s a workaround to keep using those components.
For example, for the
Ng2SmartTableComponent
I replaced the import with:The generated bundle index uses those weird characters (
ɵbo
) but it can be renamed with theas
back toNg2SmartTableComponent
For 1.6.0 the workaround no longer seems to be necessary, see my comment in #1097