Get CustomStore datagrid totalCount based on total rows

This commit is contained in:
Mulia Nasution 2023-06-06 05:19:34 +07:00
parent 36c35f9d64
commit 236765a837
2 changed files with 2 additions and 6 deletions

View File

@ -143,9 +143,7 @@ const dataSource = new CustomStore({
.then((data) => { .then((data) => {
return { return {
data: data.dataDrpDokumenPendukung, data: data.dataDrpDokumenPendukung,
totalCount: 100, totalCount: data.dataDrpDokumenPendukung.length,
summary: 100,
groupCount: 100,
} }
}) })
.catch(() => { .catch(() => {

View File

@ -144,9 +144,7 @@ const dataSource = new CustomStore({
.then((data) => { .then((data) => {
return { return {
data: data.dataDrpDokumen, data: data.dataDrpDokumen,
totalCount: 100, totalCount: data.dataDrpDokumen.length,
summary: 100,
groupCount: 100,
} }
}) })
.catch(() => { .catch(() => {