Also is it possible to have some small animation, when user

Also is it possible to have some small animation, when
user clicks plus sign(+) on the tree? When user clicks it I go to server side,
take data and return string which consist of IDs and text for each node. It
takes some time, so I would like that user have impression, that something is
going on when he/she clicks plus.


In order to change node icon and
get it shown before server side completed you need to send request to server in
another thread, like this:

function
toCallOnSelect(nodeId){


     
tree.setNodeIconOrWhatever(�)//change icon here


     
window.setTimeout(toSendRequestToServer,10);          



}


function
toSendRequestToServer(){


}

Moving server request into another thread with setTimeout gives the
ability to browser to draw changed icon.