Passing row data to row's subview

This is basic, I search but cannot find it on manual.

On tables subview parameters, how do I pass the row's data into the row's subview?

It is automagically passed as the value parameter. (Distinct from column views, where it is passed as the rowData parameter.)

There's an example:

Thank you.

On my subview:
image

When designing the subview you need to enter some placeholder data there. When you run the Preview on the view containing the main table it should show up.

I stand corrected. Thank you.

This:

image

Seems that row and rowIndex returns the same value.

I have problem with height of subview.

My subview is a table within a flex container.
The table has only fiew rows.
When I show the subview, that subview's table is very tall..
How can I make it auto.. There should be a way to make height of subview auto..

On the subview table set
virtualized : false.

I did. :slight_smile: I was the one who ask this long time ago..

The subview property should able to know, the height of the view..
I can try with other views and see..

edit: I see that, the subview is using the default size (fix) of the view.

You are using a flex view for the subview?

Yes. With one component Table. grow set to 1, virtualize set to False.

And the subview's POSITION.basis prop? Should that be set to auto?
Oh, I'm tired!

Main view's table setting:
image
image

Subview's setting:
image
image

Yep, sorry..
All are up there.., not working, so we can take a break first..

I see the culprit..
The subview of table's row, is rendered as "Row Flex"

idontknow... just from observation

I think there is now way, to make subview (a table), resize automatically.
I guess I will dynamically program the default height according to number of rows.

even label does not auto adjust subview's height: