Morning, guys!
I`m pretty new to Kendo UI and yesterday I've encountered a problem which seems to be impossible for me to solve. Basically, I've got a Kendo hierarchical grid where I can add a new record for both parent and children by clicking a button. It looks something like this: http://jsbin.com/ubiruc/12/edit?html,js,output . I'm caught with 2 problems:
1) At the start, my whole grid is empty. If I add rows and then their details, all fine. But if I add a row, its details and after that another row in the main grid, the added details for first parent disappears.
2) Stuck on how to save the whole structure in a JSON Object after I finished adding my wanted records.
Hope someone can help me out with this as I've been searching the internet for over 6 hours and nothing. Thanks in advance, have a great day!
I`m pretty new to Kendo UI and yesterday I've encountered a problem which seems to be impossible for me to solve. Basically, I've got a Kendo hierarchical grid where I can add a new record for both parent and children by clicking a button. It looks something like this: http://jsbin.com/ubiruc/12/edit?html,js,output . I'm caught with 2 problems:
1) At the start, my whole grid is empty. If I add rows and then their details, all fine. But if I add a row, its details and after that another row in the main grid, the added details for first parent disappears.
2) Stuck on how to save the whole structure in a JSON Object after I finished adding my wanted records.
Hope someone can help me out with this as I've been searching the internet for over 6 hours and nothing. Thanks in advance, have a great day!