Treegrid auto select items before expansion

Can we select particular items in treegrid before we actually expand the treegrid?