Thanks for the quick answer Ivgeny ... may I mention here that support for FlyTreeView is far beyond what I am used to from other companies ... it's fast, friendly, competent ... nothing short of excellent
Anyway,
your workaround works like a charm. I expanded the the function a little bit to react properly depending on whether the node was expanded before the refresh or not. In case people need to do something similiar here is the code:
function RefreshNode(item, argument)
{
var node = argument;
var expanded = node.getExpanded();
node.setPopulateNodesOnDemand(true);
node.collapse();
var childNodes = node.getChildNodes();
for(var i = 0; i < childNodes.length; i++)
{
var curChild = childNodes[i];
curChild.remove();
}
if( expanded )
{
node.expand();
}
}