<< Return to Main Index

< Return to Class Index

CGXFormulaSheet::StoreMoveDataCols

virtual BOOL StoreMoveDataCols(const CGXRange& sortRange, const CRowColArray& awColIndex);

sortRange

Specifies the range of cells to be rearranged.

awColIndex

An array with the new column order. Each entry in the array refers to the original column within sortRange.

Return Value

TRUE if columns could be rearranged; FALSE if it failed.

Remarks

This virtual method is called to rearrange the columns in the grid. The new order of columns is specified through the awColIndex array.

Rearranges the columns in the grid. The new order of columns is specified through the awColIndex array. Cell references to moved cells will be updated.

See Also

CGXData::StoreMoveDataCols CGXGridCore::SortCols

CGXFormulaSheet

Class Overview | Class Members