Hello there,
Just to share my script which works for me for expandable rows
table1.collapseRows({
mode: "index",
index: tableSelectedDataIndexValue.value
})
await tableSelectedDataIndexValue.setValue(table1.selectedDataIndex);
Only run when:
{{ tableSelectedDataIndexValue.value !== table1.selectedDataIndex}}
