.i, ri, currentRow, currentSourceRow not resolved right in expandable row

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}}

image

4 Likes