quant-ux
quant-ux copied to clipboard
BiDirectional DataBinding on Select variable in TableWidget
Suppose I have a table with "Selectable" enabled. Is there a way to set the "selected" value through databinding? I can echo the selected value (the number of the row, starting with 0) to another field through databinding, but it doesn't seem to work in the other direction. There also isn't a way to preset the selected status of a table row, so I can't easily simulate this by just setting the selections the way I want them in a hidden table and swapping the view.