kianabc
New Coder
Hi,
I'm a beginner. I've spent a good amount of time on this, but I can't figure it out. How do I return the value of getTotalCount back to itemCount from the calling function?
let itemCount = $w('#datasetExamples').onReady(async function () {
return await $w('#datasetExamples').getTotalCount();
});
Thanks,
Kian
I'm a beginner. I've spent a good amount of time on this, but I can't figure it out. How do I return the value of getTotalCount back to itemCount from the calling function?
let itemCount = $w('#datasetExamples').onReady(async function () {
return await $w('#datasetExamples').getTotalCount();
});
Thanks,
Kian