Writing items from table to Repeater

Hi, I would like to populate a Repeater object by cycling a dynamic table.
Can someone write me (with javascript) how to do?

I can only do it from a Collection, like this;

    wixData.query("MyCollection").contains('code', 'XY')
    .find()
    .then((results) => 
    {
       if (results.totalCount > 0) 
       {
         $w("#repeater1").data = results.items;
       } 
    }) 

with an input table it doesn’t work

$w("#repeater1").data = $w("#myTable").rows; // error

Thank you very much, and sorry for my bad English

Claudio

the rows in the table don’t have an id while the items in Corvid repeaters must have an _id.
So you can try something like:

$w("#repeater1").data = $w("#table").rows.map((e,i) => {e._id = i.toString(); return e;});

Thanks! :blush: