Hi,
I'm wondering how to get all the visible columns in ultrawingrid. I have a wingrid with 80 odd columns of which i display only 10. Is there a way to get only the visible columns? I'm looping through all the columns to check for values, but there is a performance hit in doing so as i'm sure i have to loop through only visible columns.
Any help is appreciated..
Actually, there are several ways to get the visible columns in the grid. I answered the same question here.
It doesn't look UltraGrid exposes a property that returns the visible columns. You could roll your own support for this, however, by iterating the ColumnsCollection, adding the visible ones to a list, and then tracking changes to the column's Hidden property to know when you need to rebuild the list.