Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic After Drop is Completed, I Need to Deselect Node in NodeListView (Read 967 times)
alukes
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 61
Joined: Jul 1st, 2011
After Drop is Completed, I Need to Deselect Node in NodeListView
Mar 11th, 2019 at 9:01pm
Print Post  
When I start a drag and drop, the node in the node list view is selected, which is fine, However, it stays selected after the drag and drop operation is completed.

How do I unselect the selected node in the node list view?
  
Back to top
 
IP Logged
 
Lyubo
God Member
*****
Offline


MindFusion team

Posts: 511
Joined: Jun 17th, 2010
Re: After Drop is Completed, I Need to Deselect Node in NodeListView
Reply #1 - Mar 12th, 2019 at 6:46am
Print Post  
Hi,

You can call the selectItem method on the NodeListView control with a null argument, after you've completed your drag and drop operation.

Code (Javascript)
Select All
nodeList.selectItem(null); // this will deselect the items in the list 



Regards,
Lyubo
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint