ontimize-web-ngx-datatable
TypeScript icon, indicating that this package has built-in type declarations

1.0.7 • Public • Published

Ontimize Web DataTable

An implementation of DataTable library for Ontimize Web.

Github

Ontimize Web DataTable module is stored in github{:target="_blank"} where you can also see/add todos, bugs or feature requests in the issues{:target="_blank"} section.

Installation

  npm install ontimize-web-ngx-datatable --save

Usage

Finally, you can use 'ontimize-web-ngx-datatable' in your Ontimize Web project.

Configure angular-cli.json dependencies

You must add the module styles definition in your '.angular-cli.json' file styles array:

...
"styles": [
  ...
  "../node_modules/ontimize-web-ngx-datatable/styles.scss",
  ....
],
...

Add the ontimize-web-ngx-datatable theme

You should also add the theme depending module styles. For that, you have to import module theme in your 'app.scss' file after the '$theme' definition:

@import 'node_modules/ontimize-web-ngx-datatable/o-datatable-theme.scss';
@include o-datatable-theme($theme);

Import in an application module

Include the datatable module into your app in the module where you want to use it.

...
import { ODataTableModule } from 'ontimize-web-ngx-datatable';
...
 
@NgModule({
  imports: [
    ODataTableModule,
    /* other imports */
  ],
  declarations: ...
  providers: ...
})
export class ExampleModule { }

Package Sidebar

Install

npm i ontimize-web-ngx-datatable

Weekly Downloads

5

Version

1.0.7

License

Apache-2.0

Unpacked Size

1.02 MB

Total Files

120

Last publish

Collaborators

  • gonzalo-martinez-imt