Show data from a table cell to a numeric field in perspective

Show data from a table cell to a numeric field in perspective. The Numeric field is on another container.
How do I set the value of the numeric column row data to this numeric field as the user clicks on the table row. Please advise..

The information is available in props.selection.data.0.selectedColumn and props.selection.data.0.<fieldname>.

In the demo below the label above the table has an expression binding as shown below.

case({../Table.props.selection.selectedColumn},
	"city", null,
	"country", null,
	"population",{../Table.props.selection.data[0].population},
	null
)

Table selection data

1 Like

Thank You, I was able to make it work using the selectedRow and selectedColumn.