I am developing my own GridControl. For the beginning I am creating several columns and rows. Consequently the number of cells will be ColumnsCount*RowsCount. When columns and rows are not a lot the number of cells are iterated quick enough.
Next I want to increase its capacity. The number of rows and columns will increase, and apparently the number of cells also will increase. Here, another problem I am facing, iteration through all cells gets hard and Its not difficult to imagine how much memory will be consumed for storing cells.
Can anybody give me any suggestions how to solve the problem. What kind of techniques and methods should I use to economize memory and preserve the highest speed.