This is a migrated thread and some comments may be shown as answers.

Conditional Client Grid

1 Answer 63 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 19 Dec 2017, 06:33 PM
I have a parent grid that has two different views.  Each has it's own child grid.  I have the columns and data working just fine but I need to apply a different visual template to the entire child grid based upon the view of the parent.

I understand how to apply a conditional template to a row or column but How do I apply a conditional template for the entire grid?

1 Answer, 1 is accepted

Sort by
0
Preslav
Telerik team
answered on 21 Dec 2017, 01:14 PM
Hello Paul,

The desired behavior could be achieved with an "if/else" statement in the template.

For example, check my testing Dojo: https://dojo.telerik.com/OPaQU

Please, check the above Dojo and let me know if the approach there works for you.


Regards,
Preslav
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Paul
Top achievements
Rank 1
Answers by
Preslav
Telerik team
Share this question
or