An Angular table component library based on PrimeNG with extended functionality and Allplan design system integration.
npm install @bimplus/ngx-table-connectbash
ng add @bimplus/ngx-table-connect
`
This will:
- Install the package and its dependencies
- Add required assets configuration to your project
- Add required styles import to your styles.scss
$3
If you prefer manual installation:
1. Install the package:
`bash
npm install @bimplus/ngx-table-connect
`
2. Add the following to your angular.json or project.json under projects.your-project.architect.build.options.assets:
`json
{
"glob": "*/",
"input": "node_modules/@bimplus/ngx-shared-connect/assets/images",
"output": "assets/images"
}
`
3. Import the styles in your styles.scss:
`scss
@import "../node_modules/@bimplus/ngx-shared-connect/assets/scss/styles.scss";
`
Usage
1. Import the NgxTableConnectModule in your module:
`typescript
import { NgxTableConnectModule } from '@bimplus/ngx-table-connect';
@NgModule({
imports: [
NgxTableConnectModule
]
})
export class YourModule { }
`
2. Use the component in your template:
`html
[columns]="columns"
[rows]="data"
[paginator]="true">
``