Hierarchical FlexGrid

How can I programmatically make a column invisible, change width of columns, etc.?