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

update child grid from parent

1 Answer 112 Views
Grid
This is a migrated thread and some comments may be shown as answers.
ali
Top achievements
Rank 1
ali asked on 22 Jul 2016, 05:20 AM

hi all

I want to check checkbox column in parent row and update column in  rows in  child grid

example:when check hasbeakfast column is true then child rows in breakfast column to 1

please Attention  image attachment 

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 26 Jul 2016, 08:05 AM
Hello,

You could handle the OnBatchEditCellValueChanged event of the parent grid and when a value from the checkbox column is changed, get reference to the child grid and change the values with the "changeCellValue(cell, value)" method of the Batch editing manager:
<telerik:RadGrid runat="server" ID="RadGrid1">
    <ClientSettings>
        <ClientEvents OnBatchEditCellValueChanged="batchEditValueChanged" />
    </ClientSettings>
</telerik:RadGrid>

And here is a link to the client-side API article:
Hope this helps.


Regards,
Konstantin Dikov
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
Grid
Asked by
ali
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or