ASTreeView 1.4.0 Release Notes

ASTreeView has been updated to version 1.4.0, you may download at http://www.astreeview.com/download/astreeview-1.4.0.zip

New Features:

 

1. Virtical Drag and Drop Nodes


    If you use ASTreeView as a list, you can set EnableHorizontalLock=true, then the end user can only move the nodes up and down, not left or right, screenshot:
    image 
    Visit online demo.  

2. Fixed Drag and Drop depth


    If you want the end user just move the node within the same level as its original level, you may set the property EnableFixedDepthDragDrop=true, then the nodes can only be drag and drop to the same level as its original level, visit online demo.

3. Add OnNodeDragAndDropStartScript Event


    A new event OnNodeDragAndDropStartScript  is now available for developers to execute some js when the end user start to drag nodes. Here’s a usage sample:
    add a property for astreeview:

    OnNodeDragAndDropStartScript="dndStartHandler( elem )"

    the js function to handle start drag drop:


//parameter must be "elem" 
    
functiondndStartHandler( elem ){  
    document.getElementById(
"<%=divConsole.ClientID %>").innerHTML  
    += (
">>drag started. [Node]"+ elem.getAttribute("treeNodeValue")  
    +
" [Parent]:"+ elem.parentNode.parentNode.getAttribute("treeNodeValue")  
    +
"<br />");
}

you may also check the online demo.

Download Now!

posted @ Sunday, January 03, 2010 3:26 PM

Print

Comments on this entry:

No comments posted yet.

Your comment:



 (will not be displayed)


 
 
 
Please add 3 and 4 and type the answer here:
 

Live Comment Preview:

 
View posts by date
«March»
SunMonTueWedThuFriSat
28123456
78910111213
14151617181920
21222324252627
28293031123
45678910