You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/gridjs-angular/README.md
+25-10Lines changed: 25 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,9 @@
2
2
3
3
Angular wrapper for [Grid.js](https://github.com/grid-js/gridjs)
4
4
5
+
[](https://github.com/grid-js/gridjs-angular)
@@ -89,7 +89,7 @@ Finally don't forget to add gridjs theme in your index.html
89
89
90
90
## Outputs
91
91
92
-
- You can pass all Grid.js events as outputs with a little difference `load` event renamed to `beforeLoad`. See [Grid.js Events](https://gridjs.io/docs/examples/event-handler)
92
+
- You can bind to all Grid.js events as outputs. Additionally, the `load` event can also be accessed via `gridLoad` (to avoid conflict with the native DOM `load` event). See [Grid.js Events](https://gridjs.io/docs/examples/event-handler)
93
93
94
94
### Can I Grid.js rendering helpers? Yes
95
95
@@ -114,4 +114,19 @@ Finally don't forget to add gridjs theme in your index.html
114
114
}
115
115
```
116
116
117
-
### Can I use Angular components in plugins, formatters, etc? Not yet
117
+
### Can I use Angular template syntax in plugins, formatters, etc?
118
+
119
+
Not currently.
120
+
121
+
You can't use Angular template syntax in Grid.js plugins, formatters, etc. because they cannot be connected to Angular's change detection system. You can use `h` function or `html` function to create custom HTML for your grid.
122
+
123
+
## Development
124
+
125
+
The `gridjs-angular` repository is a monorepo that uses [Nx](https://nx.dev) and [pnpm](https://pnpm.io/).
126
+
127
+
### Useful commands
128
+
129
+
-`pnpm install` - Install all dependencies
130
+
-`nx serve demo` - Run demo app
131
+
-`nx migrate latest` - Update Nx to the latest version, and upgrade all packages from package.json to their latest version
132
+
-`nx update-bindings gridjs-angular` - Update the input and output bindings from GridJS to the Angular component. This command should be run after updating the GridJS version.
0 commit comments