@guiexpert/angular-table 15.0.1 → 16.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +102 -2
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -1,3 +1,103 @@
1
- # angular-table
1
+ # @guiexpert/angular-table
2
2
 
3
- coming soon
3
+ This is the angular component of the GuiExpert Table Project.
4
+
5
+ ## Become a master at creating web applications with large tables
6
+
7
+ This is the UI-agnostic table component for your next web app. 😊
8
+
9
+ ### Features
10
+ - Handle large datasets easily
11
+ - Excellent performance for large tables by vertical and horizontal virtual scrolling
12
+ - Fully-featured (advanced sorting and filtering)
13
+ - Highly customizable data grid
14
+ - Outstanding performance
15
+ - No third-party dependencies
16
+ - UI-agnostic
17
+ - Column Interactions (resize, reorder)
18
+ - Sorting Rows
19
+ - Row, Column, and Range Selection
20
+ - Single and Multi Selection
21
+ - UI-agnostic
22
+ - Row and Column Spanning
23
+ - Fixed Columns (Left and Right)
24
+ - Tree table (Hierarchical View)
25
+ - Accessibility support: Keyboard Shortcuts
26
+ - Custom Filtering
27
+ - In-place Cell Editing
28
+ - Userdefined Key and Mouse Events
29
+ - Customizable Look & Feel (via CSS variables)
30
+ - Row sorting
31
+ - Column Reordering (Drag and Drop)
32
+ - State Persistence (Row Sorting, Column Order, Selection)
33
+ - Customizable Cell Contents via Renderer for Header, Body and Footer
34
+ - Full control over the HTML structure and style
35
+
36
+
37
+ ## Links
38
+
39
+ - [Demos](https://gui.expert/demos)
40
+ - [Documentation](https://gui.expert/doc)
41
+ - [API](https://gui.expert/api)
42
+
43
+ ## Get Started
44
+
45
+ Add the following two NPM packages to your existing angular project (run this in your project root directory):
46
+
47
+ ```
48
+ npm install --save @guiexpert/table @guiexpert/angular-table
49
+ ```
50
+
51
+ Import the (standalone) TableComponent in your angular module:
52
+
53
+ ```
54
+ @NgModule({
55
+ imports: [
56
+ CommonModule,
57
+ TableComponent, ...
58
+ ```
59
+
60
+ Add guiexpert-table component to a template:
61
+
62
+ ```
63
+ <guiexpert-table
64
+ [tableModel]="tableModel"
65
+ [tableOptions]="tableOptions"
66
+ class="table-div"
67
+ ></guiexpert-table>
68
+ ```
69
+
70
+
71
+ Add two properties (tableModel and tableOptions) to the component:
72
+
73
+ ```
74
+ import {
75
+ TableModelFactory,
76
+ TableModelIf,
77
+ TableOptions,
78
+ TableOptionsIf
79
+ } from "@guiexpert/table";
80
+
81
+ tableModel = TableModelFactory.createByArrayOfArraysParams<any>({
82
+ columnLabels: [
83
+ ['Header 1', 'Header 2']
84
+ ],
85
+ data: [
86
+ ['Text 1a', 'Text 2a'],
87
+ ['Text 1b', 'Text 2b'],
88
+ ]
89
+ };
90
+
91
+ tableOptions = {
92
+ ...new TableOptions(),
93
+ hoverColumnVisible: false,
94
+ defaultRowHeights: {
95
+ header: 40,
96
+ body: 34,
97
+ footer: 0
98
+ }
99
+
100
+ ```
101
+
102
+ There are numerous possibilities to create table models.
103
+ Please refer to the [Documentation](https://gui.expert/doc) for further information or the [Demo](https://gui.expert/demos) section for examples.
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@guiexpert/angular-table",
3
- "version": "15.0.1",
3
+ "version": "16.0.2",
4
4
  "scripts": {
5
5
  "publish": "npm publish"
6
6
  },
7
7
  "peerDependencies": {
8
- "@angular/common": "^15.0.0",
9
- "@angular/core": "^15.0.0"
8
+ "@angular/common": "^16.0.0",
9
+ "@angular/core": "^16.0.0"
10
10
  },
11
11
  "dependencies": {
12
12
  "tslib": "^2.3.0"