This is a migrated thread and some comments may be shown as answers.

After new child is updated the item is removed

3 Answers 61 Views
TreeList
This is a migrated thread and some comments may be shown as answers.
James
Top achievements
Rank 1
James asked on 29 Sep 2017, 12:05 PM

Dear support team,

   I'm using the built-in create child on the TreeList, which is referenced hear. I just added the "createChild" to the list of commands.  On the grid if I click the button the child is created. I can then update the cells, but once I click the update button, the actions are subsequently itemchange, sync, then remove.  Of course, the newly created item is removed from the grid. My contact information has been changed, but not with Telerik, so use the below contacts.

Respectfully,

James Rollins

Senior Developer

Digital Cloak LLC

james.rollins@digitalcloak.net

3 Answers, 1 is accepted

Sort by
0
James
Top achievements
Rank 1
answered on 02 Oct 2017, 11:17 AM

Apparently, the link from my previous post doesn't work. 

Try this

0
James
Top achievements
Rank 1
answered on 02 Oct 2017, 11:18 AM
http://docs.telerik.com/kendo-ui/api/javascript/ui/treelist#configuration-columns.command
0
Stefan
Telerik team
answered on 03 Oct 2017, 06:34 AM
Hello, James,

Thank you for the provided link.

After testing the scenario, when the createChild command button is clicked, the new row appears and when the data is entered and the update button is clicked, the item is successfully added:

http://dojo.telerik.com/UmiMA

Let me know if I missed an important detail.

Regards,
Stefan
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
TreeList
Asked by
James
Top achievements
Rank 1
Answers by
James
Top achievements
Rank 1
Stefan
Telerik team
Share this question
or