Open primg opened 7 years ago
Hi, I would really appreciate if anyone would be of any help.
I followed the install tutorial.
The error
My Package.json
"ng2-smart-table": "^0.5.0",
My module
import { Ng2SmartTableModule } from 'ng2-smart-table'; @NgModule({ imports: [ [...] Ng2SmartTableModule, [...] ]
My component
@Component({ templateUrl: './sortsurveydata.component.html', providers: [UserService, SortSurveyDataService, Globals], }) export class SortSurveyDataComponent implements OnInit { settings = { columns: { date: { title: 'Date' }, author: { title: 'Author' }, position: { title: 'Author position' }, regionCountries: { title: 'Region and countries' }, industry: { title: 'Industry' }, score: { title: 'Score' }, status: { title: 'Survey status' } } }; }
`My HTML
<ng2-smart-table [settings]="settings" [source]="data"></ng2-smart-table>
I fixed it by intalling a latest version ng2-smart-table@latest
I'm having the same issue, and I'm running latest "ng2-smart-table": "^0.6.0-1",
Hi, I would really appreciate if anyone would be of any help.
I followed the install tutorial.
The error
My Package.json
"ng2-smart-table": "^0.5.0",
My module
My component
`My HTML
<ng2-smart-table [settings]="settings" [source]="data"></ng2-smart-table>