I have resource tree which has 2 levels. I want to expand only specific resource based on condition and others are collapse. how to do?