Make bulk updates on grid rows using header template

2 posts, 0 answers
  1. Yatish
    Yatish avatar
    7 posts
    Member since:
    Apr 2016

    Posted 13 Jun 2016 Link to this post

    Hi,

    I am working with the Grid control in AngularJS and I am trying to figure out if there is a way to update all the column data with data input taken from the header template. I am using template on a column which has a textbox and header template having a textbox. As per the requirement, when the user gives an input on the header textbox all the textboxes in the column should be updated with the user input on the header.  Here is the attached plunkr where the discount column has a textbox in the header. The column data is all textboxes. When the user input a value on the header, all the column textboxes must be updated with the value.

    Thank you

    YK

  2. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    2062 posts

    Posted 15 Jun 2016 Link to this post

    Hello Yatish,

    The only solution in this case is to use a change event of the input in the header template and update manually each data item in the grid. 

    Regards,
    Boyan Dimitrov
    Telerik
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
Back to Top