Two way data binding of the whole data in grid can be obtained by
vm.myData = data;
.
'vm.myData'
to dataModel.data
Try to edit the cells, sort the columns and filter the data.
Even though this example is not useful as such, whole data binding is useful in other use cases like form editing.
Copyright @ 2016-2022 Paramvir Dhindsa (http://paramquery.com)