Can Grid Hierarchy handle Batch Edit?
Kindly provide sample codes if there is..
Thanks..
8 Answers, 1 is accepted
I need help on this too.
Please, provide a sample
I am trying to implement the same thing but if I set batch editing for the details grid, datasource of the main grid isn't displayed.
Could you please let me know how I can achieve this functionality?
Thank you
I would like also to follow up on this because I'm also implementing this and I'm having a problem doing it.
Hope to figure out the proper way to implement it. ASAP.
Thank you.
Please find attached the example of Grid Hierarchy batch editing which demonstrates the required behavior.
Vladimir Iliev
Telerik
Hi,
Can we achieve the same in MVC with local data binding?
Situation:
I am having Component object. Component is having child Component as an aggregated entity, which is List<Component>.
I case of add and edit user will update quantity, will object restructured on the basis of the product object structure.
The changes are in memory and I can't save the changes in at this point. will update of some Components in some Situation. will update quantity in the grid and update some values put some notes and then will save the changes.
I am not sure how I can achieve the same with kendo grid?
Urgent help needed and much appreciated!
Thanks,
Shoeb.
Basically it's possible to achieve the desired behavior, however currently we have no such example which we can provide. That why I could only suggest to check the following additional demos and use them as baseline to achieve the desired behavior:
Regards,
Vladimir Iliev
Telerik
Hi Vladimir,
Can the demo you provided support Batch Ajax source? With One Save and Cancel button to save all hierarchy.
I tried to change it to Batch Ajax (Save/Cancel button only on the employees table) and the save button does not work. If I only change one employee it works but if I change multiple employees it does not. Also the combination between Delete and Save button does not work, but the Delete and Cancel works.
You need to change the server-side code to accept a collection with your model for batch operations. You can refer to the following help topic for detailed information on Batch editing:
As for the hierarchy, we do not recommend binding the nested Grid`s to a collection of the parent row. For hierarchical structure we recommend the usage of separate dataSource for each level:
With such implementation you should be able to call the "sync" method of the nested grids and the parent grid with an external "Save" button.
Regards,
Konstantin Dikov
Progress Telerik