insertNewChild does not insert image (first insert only)

This line of code will not show the image in the tree the first time it is called. All subsequent calls work fine…

xtree.insertNewChild(parentId, g, “New Site”, “”, “2.png”, “2.png”, “2.png”, “”, “”);

is this a known issue?


is this a known issue?

Please provide the sample to recreate the problem

thank you, the tree was working correctly. I had an error with my node id and didn’t realize it.