Access context in HeaderTemplate

2 posts, 0 answers
  1. Ciprian Daniel
    Ciprian Daniel avatar
    15 posts
    Member since:
    May 2017

    Posted 29 Sep 2020 Link to this post

    Hello,

    Is there any way to access the context in the HeaderTemplate as I want to set some dynamic content based on some values from the model?

     

    Thank you.

    Best regards,

    Cipri

     

  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    5808 posts

    Posted 29 Sep 2020 Link to this post

    Hello Cipri,

    The header template is not related to any model, only the rows in the body of the table are. If you need data, you can obtain it directly from the Data collection of the grid.

     

    Regards,
    Marin Bratanov
    Progress Telerik

    Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Back to Top