- CalculateRowColumnData();
-
- // update every column position in ColumnData array
- float cumulatedWidth = 0.0f;
- const unsigned int columnCount = mCellData.GetColumns();
- for( unsigned int column = 0; column < columnCount; ++column )
- {
- mColumnData[column].position = cumulatedWidth;
- cumulatedWidth += mColumnData[ column ].size;
- }
-
- // update every row position in RowData array
- float cumulatedHeight = 0.0f;
- const unsigned int rowCount = mCellData.GetRows();
- for( unsigned int row = 0; row < rowCount; ++row )
- {
- mRowData[row].position = cumulatedHeight;
- cumulatedHeight += mRowData[ row ].size;
- }
-