0.0.7 • Published 7 months ago

bk-angular-table v0.0.7

Weekly downloads
-
License
MIT
Repository
-
Last release
7 months ago

BkAngularTable

This library was generated with Angular CLI version 15.0.0.

Plugin detail

This bk-angular-table plugin adds the ability to generate dynamic angular material tables.

HTML File to use this plugin

[displayedColumns]="displayedColumn" 
[dataSource]="this.data"
(selectedRow$)="onSelectedChange($event)"  
(pagination$)="onPagination($event)"
class="bk-table"
columnClass="bk-customer-heading"
>
</bk-angular-table>

Attributes details

DisplayedColumn you have to pass your title and field for table example:-displayedColumn = [ { field: 'name', title: 'Name' }, { field: 'org', title: 'Organization' }, { field: 'place', title: 'Place' }, { field: 'code', title: 'Code' }, ]; DataSource:-table data. SelectedRow$:-SelectedRow$ will retun you selected row. Pagination$:- If you want to add pagination for this table then you can access current page index using pagination$ columnClass will allow you to adjust table header width

import

import { BkTableModule } from 'bk-angular-table'

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.

0.0.7

7 months ago

0.0.6

7 months ago

0.0.5

7 months ago

0.0.4

7 months ago

0.0.3

7 months ago

0.0.2

7 months ago

0.0.1

7 months ago