Hi all,
I have a grid with two columns.
The grid is inside a panel and the latter has a toolbar with two toggle buttons in it.
The initial situation is as following: the first button is pressed and the first grid column's visible while the second one's hidden.
When toggling the second button, I need to show the second column and hide the first one (and when toggling the first button, I need to show the first column and hide the second one).
I cannot understand how to access the grid's columns, can you help me? I think it should be something like MyGrid.getColumnById(1).hide() or MyGrid.getColumnById(1).show(); should be the same code called when a user shows/hides a column by the grid's header..
Thanks in advance,