There are several implicit parameters for the subviews. See:
https://forum.inductiveautomation.com/t/perspective-table-dynamic-column-viewparams-per-row/34657/2
So your viewParams would not include the element ‘time’.
You don’t even have to add the implicit parameters in the columns viewParams configuration.
You DO have to declare them in the embedded view with the correct name or you won’t have a property value to reference them.
embedded_view.params: {
value: null, # The value of the row from the selected column arrives here. The param property name must be ‘value’.
rowData: null, # Include this if you need to refer to data from other columns.
rowIndex: 0, # Include this if you need the index into the full dataset.
row: 0 # Include this if you need the index into the filtered dataset.
}
Hopefully, that answers your question. Happy programming!