selectItem fail after loadXML

Hi, I have a long tree in a html page. When I reload data I lose the vertical posizion, I use the following code to do this:

function refresh(id) { x_leggiDati(id,cb_Dati); tree.deleteChildItems(0); tree.loadXML("vademecum_xml.php?sel="+id,function(){ tree.selectItem(id); tree.focusItem(id); }); }

All the times the tree is shown since the first node without scroll down.
Please Help meeeeeeeee :slight_smile:

Unfortunately we cannot reproduce this issue locally. Please provide us any kind of sample or a demo link so we can reproduce an error.