i would like to create a screen in perspective which is similar to the below pic.
I have tried using table with subview property but i need a table in one view and subview in another view (which should be dynamic)
Any ideas to achieve this functionality?
It's not clear to me what you are trying to achieve. What do you mean by "subview in another view (which should be dynamic)"?
Can you mark up your image to show where this subview should be?
red should be in main view
blue should be in subview
So where are you stuck?
You should have the following properties setup:
rows.subview.enabled : true
rows.subview.viewPath : <viewname> (the name of your subview which will contain the subview table).
rows.subviewExpansionMode : <as required>
See the manual: Perspective - Table - Ignition User Manual 8.1 - Ignition Documentation.
my current setup:
View Table on subview expansion event:
table = self.props.selection.data
But sub view works properly only when i click on the name value and then click on the arrow.
So is your question, "How do I display a table with all subviews expanded?"
If that is the question then see the Table Component Functions on the same page, Perspective - Table - Ignition User Manual 8.1 - Ignition Documentation and the
expandSubviews() function in particular.