@kubut/ngk-spline-table
v1.4.1
Published
* Be sure you have `ngx-translate` and router configured. It would be good idea to install bootstrap and font-awesome also
Downloads
99
Readme
SplineTable
Usage
Be sure you have
ngx-translate
and router configured. It would be good idea to install bootstrap and font-awesome alsoAdd import to your module, (optional: you can define global configuration as forRoot param)
@NgModule({
imports: [
SplineTableModule.forRoot(),
TranslateModule.forRoot(),
RouterModule.forRoot([])
]
})
export class AppModule {
}
- Add required translations to your ngx-translate translations files:
{
"SPLINE": {
"TABLE": {
"ActionsHeader": "...",
"PaginatorSummary": "{{shownItems}} items of {{totalItems}} total"
}
}
}
- Use it in your template (see comments in sources to possible options)
<ngk-spline-table [headers]="headers" [options]="options" [fetchingMethod]="fetchingMethod"></ngk-spline-table>
Licence info
Basic licence is Beerwere with little modification. You can use this library for free for non-commercial projects (no support is guaranteed), but ff you want to use it in commercial project you have to ask me if I'm ok with it :)