SetFilter() and SetPaging() are not Working Properly
Đang mở
- Ngôn ngữ chính
- TypeScript
- Star
- 1.6k
- Fork
- 867
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.