sharing treegrid state