SetFilter() and SetPaging() are not Working Properly
Open
- Dominant language
- TypeScript
- Stars
- 1.6k
- Forks
- 867
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.