I have seen this code to delete an entire collection. I was wondered if its possible to delete specific items(fields) in a row with code?
export function deleteAll_onClick(event, $w) {
let dataset = $w(“#dynamicDataset”); // or the name of your dataset
dataset.onReady( async () => {
while (dataset.getCurrentItem()) {
await dataset.remove();
}
});
dataset.refresh();
}
This would enable my current collection to display correctly in a repeater as the fields correctly populated in the row below would probably be used as collection for repeater