Whenever any change is made in view(UI) of igHierarchicalGrid it is getting updated in view..However when i print the output in console the datasource is still showing old data
That is awesome!!.
Thanks Tsanna for the support.I really appreciate it.
If you turn on autoCommit option and alert the newly added record like for example: http://jsfiddle.net/jc8kce18/42/ you should be able to see the newly added record.
http://jsfiddle.net/jc8kce18/3/
Tsanna,
I am still not clear.In the example i shared,Can you print in console of browser or pop an alert message showing the updated JSON after a new row is added by clicking "Add new row".
Thanks in advance,
Hello Akhi,
I would recommend you to read the following documentation about how to save changes to the server using button click and saveChanges method API which will invoke an AJAX request to the updateUrl option (if specified) and passes the serialized transaction log as part of the POST request: https://www.igniteui.com/help/iggrid-updating#persist-changes
If you have further questions, please let me know.
Regards,
Tsanna