I use
dataAdapter: new jqx.dataAdapter(this.source, {
formatData: function (data) {
return data
},
loadServerData: function (serverdata, source, callback) {
serverdata = formatFilter(serverdata)
showCustomerList(source, serverdata).then((res) => {
callback({
records: res.rows,
totalrecords: res.total,
})
})
}
}),
obtained 20 pieces of data and a total of 1430 from the server,
and the total number ‘1430’ has been set, but the total number in the lower right corner of the widget shows 20,instead of 1430,
and did not calculate the corresponding number of pages,
Please see this image