@bimplus/ngx-table-connect
v0.0.1
Published
An Angular table component library based on PrimeNG with extended functionality and Allplan design system integration.
Readme
ngx-table-connect
An Angular table component library based on PrimeNG with extended functionality and Allplan design system integration.
Installation
You can install this library using the Angular CLI:
ng add @bimplus/ngx-table-connectThis will:
- Install the package and its dependencies
- Add required assets configuration to your project
- Add required styles import to your styles.scss
Manual Installation
If you prefer manual installation:
- Install the package:
npm install @bimplus/ngx-table-connect- Add the following to your
angular.jsonorproject.jsonunderprojects.your-project.architect.build.options.assets:
{
"glob": "**/*",
"input": "node_modules/@bimplus/ngx-shared-connect/assets/images",
"output": "assets/images"
}- Import the styles in your
styles.scss:
@import "../node_modules/@bimplus/ngx-shared-connect/assets/scss/styles.scss";Usage
- Import the NgxTableConnectModule in your module:
import { NgxTableConnectModule } from '@bimplus/ngx-table-connect';
@NgModule({
imports: [
NgxTableConnectModule
]
})
export class YourModule { }- Use the component in your template:
<ct-dynamic-table
[columns]="columns"
[rows]="data"
[paginator]="true">
</ct-dynamic-table>