TreeGrid provides the support to update the record values dynamically, this can be done by using updateRecordByIndex method. To use this method, we have to pass the record index and modified record object as an argument. JS <script type="text/javascript"> $("#ButtonContainer").click(function () { var treegridObj = $("#TreeGridContainer").data("ejTreeGrid"); var index = 2; var data = { taskID: 32, taskName: "Updatedrow", progress: 60, startDate: "02/29/2017", endDate: "03/08/2017" }; treegridObj.updateRecordByIndex(index, data); }); </script> A simple sample to update the record dynamically in TreeGrid is available here |
This page will automatically be redirected to the sign-in page in 10 seconds.