Ok, you handle checked, in this handler you remember what node was expanded using this handler (e.g. you can put it in global nodesExpandedByChecked array).
So when populated event occurs, you just check if this node is in array of nodes that were expanded using checkbox.