Open
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<object> = 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
Metadata
Metadata
Assignees
Labels
No labels