1.0.2 • Published 6 years ago

la-create-table v1.0.2

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

LaCreateTable

Installing

Install the current stable release:

npm install la-create-table --save

Or install the latest beta release:

npm install la-create-table@next --save

Used

Add to your app.module.ts file the next import:

import { LaTableModule } from 'la-create-table/src/app/modules/la-table/la-table.module';

Add the tag '' where you want the table.

Properties

Property NameDescription
rtlDirection or grid, default false.
comboColumnShow checkbox column, default false.
editSchemaAllow edit the schema of the table, show checkbox to delete columns, default false.
editDataAllow edit the cells of thetable.

Input

Columns

Property NameDescriptionValues
nameThe name of column in table.any string in any language.
propertyThe name of the property from data.string in english.
typeThe type of the value of column.test, number, checkbox
widthThe width of the column in pressents.number
header_alignThe test align of the header.left, center, right
cell_alignThe test align of the celles.left, center, right

Data

any json array by filed like columns names.

Demo

link to demo.