Web Component
You can find it on stackblitz: stackblitz-guiexpert-table-webcomponents-simple.
Add the following NPM package to your existing project (run this in your project root directory):
The third package @guiexpert/demo-table-models
contains some predefined table models.
It is not necessary in a real life project.
To add the global guiexpert CSS file in your project,
you can include the file in the header of the index.html
file:
You will also find the main.css
in the downloaded node module: node_modules/@guiexpert/table/css/main.css
.
Create a component and include the guiexpert tag in the template of your component
Be sure, that your div containers expands. Add this CSS rule to your component’s style.