Perspective Table - Pass parameter in a cell view

Hi,

I added a DateTime Input in a table like below :

Below my embedded view params :
image

User have to change Date cell value. So ‘value’ param must be passed in table.props.data[0].time.
How can I do this ?

image

Thanks

I usually create an empty object param named “rowData” on the embedded view, which automatically gets the entire JSON object of the table’s row. From there it is simple enough to create a custom property within the embedded view that has a binding that points to the rowData param and extracts the value of the “time” key. There are other ways of handling this, but I like that this method exposes all values within the table row in case you wanted to make this embedded view respond to the states of other columns as well.

2 Likes

@swolnisty It worked. Thank you.