<< Return to Main Index

< Return to Class Index

CGXFormulaSheet::StoreMoveDataRows

virtual BOOL StoreMoveDataRows(const CGXRange& sortRange, const CRowColArray& awRowIndex);

sortRange

Specifies the range of cells to be sorted.

awRowIndex

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

Return Value

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

Remarks

This virtual method is called to rearrange the rows in the grid. The new order of rows is specified through the awRowIndex array. Cell references to moved cells will be updated in the formula engine.

See Also

CGXData::StoreMoveDataRows CGXGridCore::SortRows

CGXFormulaSheet

Class Overview | Class Members