Is it possible to remove columns at runtime via the Grid control (rather than explicitly in code)?
It seems like it’s something the control would support; I drag a column header and a big ‘X’ appears over my cursor, suggesting that if I drag the column out it would be removed, but when I release mouse button, the column stays in place. Perhaps I am misinterpreting the ‘X’, when it really means ‘you can’t drop this control here’?
(I am able to reorder the columns in the grid, but not remove them.)
I have not yet tried, but I also assume I could add columns at runtime (using code triggered from some other control/event)?
Imported from legacy forums. Posted by RJ (had 562 views)
You can’t remove columns from the GridControl, it has do be done through code. As for adding columns, it would have to be through another control or event, as you suggested, and I see no problem doing this.
Imported from legacy forums. Posted by André (had 129 views)