Conditional Client Grid

2 posts, 0 answers
  1. Paul
    Paul avatar
    1 posts
    Member since:
    Mar 2013

    Posted 19 Dec 2017 Link to this post

    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?
  2. Preslav
    Admin
    Preslav avatar
    516 posts

    Posted 21 Dec 2017 Link to this post

    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.
Back to Top