I have a repeater on my page that is connected with a dataset, but I only wanna show from the row 28 to row 100 from my database connected with dataset. So I tried to use the getItems() function but this is not working.
Here is my code:
$w.onReady(function () {
$w("#dynamicDataset").getItems(28, 72)
.then( (result) => {
let items = result.items;
$w("#dynamicDataset").save();
console.log(items);
})
...continue...
});
Ps: my repeater is called #listRepeater and looks like:
![](https://static.wixstatic.com/media/a27d24_09cd3ac5febc4bbdb865b51330c9a9ed~mv2.png/v1/fill/w_980,h_551,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/a27d24_09cd3ac5febc4bbdb865b51330c9a9ed~mv2.png)
Really need help! Tnks a lot since now!
I think you will have to use a normal DATASET....(not sure in this case)
And another thing is, you perhaps have forgot to use -->
$w("#myDataset").onReady(()=>{ })
$w.onReady(function () { $w("#myDataset").onReady(()=>{ $w("#normalDataset").getItems(28, 72) .then( (result) => { let items = result.items; $w("#dynamicDataset").save(); console.log(items); }); }); });