Hi,
When I use the UltraGrid.DisplayLayout.Reset(), it does not reset row/colummn or cell appearance. How could I reset all the cells in the grid without looping and reseting appearance on each cell/row and column, wich might be time consumming?
Thanks.
Rico
Rico,
I don't think that there's a way to do this other than looping through the rows of the grid. The DisplayLayout just keeps track of more generalized appearances, not row-specific information (i.e. if you set the rows through InitializeRow); if the grid exposed a method to do what you want, likely it would have to loop through each row anyway.
-Matt
Another approach would be to apply the appearances to rows and cells inside the InitializeRow event. This is generally more efficient than looping.