method to get the tree for a column