Hello
I'm looking for a complete sample that help me to learn how I can add a child row in hierarchical grid.
1) Do I have to change the datasource and rebind it to the grid ?
or
2) Can I have just add a new row in the grid with data from javascript
3) Both ?
Thanks in advance
Gilles
Hello GPRODHON,
I created a sample that demonstrates how to add a child row in hierarchical grid on button click. For the purpose I used allChildren method of the grid, which returns an array of all loaded child grid elements. Then on some condition you may call addRow method on the preferred child grid depending on your requirement. Please take a look at the attached sample for your reference and let me know if you have any further questions.
Regards,
Tsanna
I just would like to inform that I working on a full javascript app, no MVC no ASP ;)