Is it possible to use specify the template path for each instance in a template repeater.
Example ,
I have 2 master template named Control, Status
In a template repeater component i want to specify control or status template to use for each repeat instance and which is based on a value in the specific column in dataset.
Thanks in advance.
No.
Your two options are either:
- A 'meta' template which is repeated and has a parameter to decide which template to render inside itself.
- The 'Template Canvas', which is like the template repeater but with significantly more flexibility.
I would encourage the use of option 2.
2 Likes
@PGriffith ,
Thank you
I have tried the second option and its working as expected.
And the alignment is little bit difficult when using dynamic number of templates.