feat(grid-lite): Update documentation based on angular wrappers#6388
feat(grid-lite): Update documentation based on angular wrappers#6388
Conversation
|
|
||
| ```shell | ||
| npm install igniteui-grid-lite | ||
| ``` |
There was a problem hiding this comment.
This is still true - the wrapper is just that and still requires the WC package to run, which is optional peer just like igniteui-webcomponents with the Chat - both on separate entry points.
You can use the same wording as in https://www.infragistics.com/products/ignite-ui-angular/angular/components/chat#installation
en/components/grid-lite/overview.md
Outdated
| @@ -40,22 +40,10 @@ | |||
| // app.component.ts | |||
|
|
|||
| import { Component, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; | |||
There was a problem hiding this comment.
Drop the CUSTOM_ELEMENTS_SCHEMA since with the wrapper it shouldn't be needed anymore
There was a problem hiding this comment.
And add
import { IgxGridLiteComponent, IgxGridLiteColumnComponent } from 'igniteui-angular/grids/lite';
imports: [IgxGridLiteComponent, IgxGridLiteColumnComponent]
| You also need to import **`IgxGridLiteCellTemplateDirective`** | ||
|
|
||
| ```typescript | ||
| import { IgxGridLiteComponent, IgxGridLiteColumnComponent, IgxGridLiteCellTemplateDirective } from 'igniteui-angular/grids/lite'; |
There was a problem hiding this comment.
and add it to the import's array
|
|
||
| After the grid applies the new sorting state, a `sorted` event is emitted. It contains the expression which was used in the last sort operation and it is not cancellable. | ||
|
|
||
| ```typescript |
There was a problem hiding this comment.
I think we should show declarative binding for these events
|
|
||
| After the grid applies the new filter state, a **`filtered`** event is emitted. It contains the filter state for the column which was the target of the operation and it is not cancellable. | ||
|
|
||
| ```typescript |
There was a problem hiding this comment.
Show declarative binding for these events (through the template)
| @@ -1,223 +0,0 @@ | |||
| --- | |||
There was a problem hiding this comment.
Is this file deleted by mistake?
There was a problem hiding this comment.
Weirdly so, yes
Closes #
Checklist:
preview\beta../relative/path.mdIgxSelectComponent,<igx-combo>code blocksfor the names of classes / tags / propertiescode blockspending-localizationlabel when the review of the PR is done