virtual void UpdateMoveDataRows(const CGXRange& sortRange, UINT flags = GX_UPDATENOW, BOOL bCreateHint =TRUE);
sortRange
Specifies the range of cells to be sorted.
flags
GX_INVALIDATE - invalidates the window.
bCreateHint
Specifies if a hint should be created.
Updates the window after sorting rows in the grid. The method simply calls Redraw.
The method creates the following hint:
CGXGridHint hint(gxHintMoveDataRows, m_nViewID);
hint.flags = flags;
hint.range = sortRange;
Override this method if you need to change the hint or if you want to do any other updating in your grid (e.g., move the current cell).
Control-Factory Specific ->
This method has been implemented using the abstraction mechanism as discussed in the chapter "Reducing the size of your application" in the user's guide. A call to the ImplementGridSort method from within the control factory class' InitializeGridComponents method will make the concrete implementation of this method available to your application.
If no concrete implementation is available this method performs no action. A warning will be displayed in the debug window.
END Control-Factory Specific
CGXGridCore::MoveDataRows CGXGridHint
Class Overview | Class Members