EasyUI Forum
May 16, 2024, 06:12:09 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: remove only the child of particular node  (Read 11667 times)
manojvijayan
Newbie
*
Posts: 13


View Profile Email
« 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.....
« Last Edit: November 22, 2012, 05:05:54 AM by manojvijayan » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!