Get CustomStore datagrid totalCount based on total rows
This commit is contained in:
parent
36c35f9d64
commit
236765a837
@ -143,9 +143,7 @@ const dataSource = new CustomStore({
|
||||
.then((data) => {
|
||||
return {
|
||||
data: data.dataDrpDokumenPendukung,
|
||||
totalCount: 100,
|
||||
summary: 100,
|
||||
groupCount: 100,
|
||||
totalCount: data.dataDrpDokumenPendukung.length,
|
||||
}
|
||||
})
|
||||
.catch(() => {
|
||||
|
@ -144,9 +144,7 @@ const dataSource = new CustomStore({
|
||||
.then((data) => {
|
||||
return {
|
||||
data: data.dataDrpDokumen,
|
||||
totalCount: 100,
|
||||
summary: 100,
|
||||
groupCount: 100,
|
||||
totalCount: data.dataDrpDokumen.length,
|
||||
}
|
||||
})
|
||||
.catch(() => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user