Thanks for your kind help. I does solve problem but there is an issue as well This function displays the tree like this. Main Table Region Southwest {EmptyFileIcon i.e. leave node} Arizona {EmptyFileIcon i.e. leave node} 40000 {EmptyFileIcon i.e. leave node}
But I want that it should display Southwest should be leafNode. It should not be branch. How to handle this problem? regards YM __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com