angular-4-data-table-fix

2019-03-15 admin

angular-4-data-table-fix是什么

什么是angular-4-data-table-fix,angular-2-data-table fork with fix for angular 4

angular-4-data-table-fix使用教程帮助文档

Angular 4 Data Table

This is fork of package [https://github.com/ggmod/angular-2-data-table] (https://github.com/ggmod/angular-2-data-table)

A simple Angular 4 data table, with built-in solutions for features including:

  • pagination
  • sorting
  • row selection (single/multi)
  • expandable rows
  • column resizing
  • selecting visible columns

The component can be used not just with local data, but remote resources too: for example if the sorting and paging happen in the database.

The templates use bootstrap CSS class names, so the component requires a bootstrap .css file to be present in the application using it.

Check out the demo and its code for examples of how to use it.

Demo for pagination with seperate page numbers will be added soon

Installing:

npm install angular-4-data-table --save

Production (Minification)

Some times this can cause problems. To fix it use import like this

import { DataTableModule } from 'angular-4-data-table';

and for production build use

ng build --prod --aot=false

Added numerical pagination support with 2 next and previous links

Licensing

MIT License

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处。

转载请注明:文章转载自 JavaScript中文网 [https://www.javascriptcn.com]

本文地址:https://www.javascriptcn.com/read-57754.html

文章标题:angular-4-data-table-fix

回到顶部