EasyUI Forum

General Category => General Discussion => Topic started by: manojvijayan on November 22, 2012, 04:50:46 AM



Title: remove only the child of particular node
Post by: manojvijayan on November 22, 2012, 04:50:46 AM
I have created a tree panel It has nested nodes like following

Course1
--Chapter1
  --Lesson1
  --Lesson2
  --Lessaon3
--Chapter2
  --Lesson1
  --Lesson2
  --Lessaon3

I want to remove only the child of the node 'Chapter1' .When i used $('#treePanel').tree('remove',node.target), the node 'Chapter1' and its child was removed.


Is it possible?

Thanks in advance.....