SetFilter() and SetPaging() are not Working Properly
- Lenguaje dominante
- TypeScript
- Estrellas
- 1.6k
- Forks
- 867
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
hi there , I'm using ServerDataSource() with following configurations and code
```
const config = {
dataKey : "data.data",
endPoint: url,
pagerPageKey: 'page',
pagerLimitKey: 'limit',
totalKey:"data.total",
}
const filtersObject:Array = filters
?this.queryStringService.getFilterObject(JSON.parse(filters))
:[]
const defualtPage = !isNaN(page)?page:1
this.source = new ServerDataSource(this.http,config);
this.source.setFilter(filtersObject,true,false).setPaging(defualtPage,10,true); // I think problem is here
```
The problem is some how code is call API multiple times
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.