ngu-datatable
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

NguDatatable

This library is used to create a table for Angular

Installation

To install ngu-datatable, run npm install through npm package manager using the below command

npm i ngu-datatable

Import Module

Import NguDatatableModule in the imports section of your angular module.

Creating a new datatable

<ngu-datatable [data]="data">
    <ngu-datatable-column property="id">
        <ng-container *nguDatatableHeader>header1</ng-container>
        <ng-container *nguDatatableCell="let row">
            <input [value]="row.id">
        </ng-container>
   </ngu-datatable-column>
   <ngu-datatable-column property="title">
        <ng-container *nguDatatableHeader>header 2</ng-container>
        <ng-container *nguDatatableCell="let row">{{ row.title }}</ng-container>
   </ngu-datatable-column>
</ngu-datatable>

Further help

Readme

Keywords

none

Package Sidebar

Install

npm i ngu-datatable

Weekly Downloads

0

Version

0.1.1

License

MIT

Unpacked Size

165 kB

Total Files

33

Last publish

Collaborators

  • chsrvn