Hi,
I am not sure what I'm doing wrong. I pass my data to the grid this way: [data]="rowData$ | async". I define this in my component as such:
rowData$: Observable<any>;
ngOnInit() {
this
.rowData$ =
this
.requestService.getData}
I would not want to modify this code, or my service code, so I need to know how to use the grid features when passing the data to the grid this way.
Also in the grid I have the following:
[sortable]="true"
[pageable]="true"
[filter]="state.filter"
[filterable]="true"
(dataStateChange)="dataStateChange($event)"
For filtering, I can see the filters textfields and filter buttons but when I type something, the data does not change.
For sorting, nothing happens when I click in the column header.
For paging, I see the number of pages and items at the bottom but the functionality does not work. I set to have only 12 items per page, and I see '1-12 items of 17' but all items are shown on the 1st page. I see the grid has 2 pages, but clicking on page 2 does not work, probably because all items are already displayed in the 1st page.
Also, I need to have a column with a filter always set, unless the user removes it. My idea was to use a kendo-switch to switch between group 1 and group 2, but this is not working for me either. Is it possible to have longer text instead of on/off?
I'm guessing my problem is coming from not understanding how to handle the data after the grid is initialized.
Thanks in advanced,
Carla