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

Make bulk updates on grid rows using header template

1 Answer 93 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Yatish
Top achievements
Rank 1
Yatish asked on 13 Jun 2016, 06:46 PM

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

1 Answer, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 15 Jun 2016, 02:14 PM

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.
 
Tags
Grid
Asked by
Yatish
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Share this question
or