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

Batch Save on Heirarchy Grid

1 Answer 55 Views
Grid
This is a migrated thread and some comments may be shown as answers.
John Cruz
Top achievements
Rank 1
John Cruz asked on 22 Jul 2012, 08:29 AM
How do you save all the items of a child grid on a heirarchy grid when performing a batch save.

1 Answer, 1 is accepted

Sort by
0
Walter
Top achievements
Rank 1
answered on 24 Aug 2012, 10:00 AM
In your saveChanges event you can add script similar to the following:

var subgridelements = $("#maingrid").find("div.k-grid");
if (subgridelements.length > 0) {
  subgridelements.data("kendoGrid").saveChanges();
}

I hope this helps.
Tags
Grid
Asked by
John Cruz
Top achievements
Rank 1
Answers by
Walter
Top achievements
Rank 1
Share this question
or