How to reset all checkboxes in listview

Having trouble resetting all checkboxes in my list view from a javascript query because setValue() doesn't seem to work with more than 1 index. Any help?

For example, this will work - but will only clear that row's checkmark


The following worked for me:

for (i=0; i<=listView1.itemHeight; i++){

However, I did see an error occur

So it might be that I didn't define the checkbox, but in the end the loop works.

When I run the js query, I then see
Screen Shot 2022-03-24 at 9.21.28 AM