| | | | Browse by category |
Article ID: 488
Last updated: 25 Apr, 2018
Problem
How can I determine the original row (or column) after the user has dragged the row (column)?
Cause
Action
At initialization time, you can loop through your columns and store an index in the column.
Example:
for (ROWCOL nCol = 0; nCol < nColCount; nCol++) | ||
SetStyleRange(CGXRange().SetCols(nCol), CGXStyle().SetUserItemDataPtr((void*) nRow)); |
Later, you can call ComposeStyleRowCol() to determine the value after columns have been rearranged.
NOTE: This sounds similar to the previous question but if you look close you will see that it is exactly the other way around.
This article was:
Helpful |
Not helpful
Report an issue
Article ID: 488
Last updated: 25 Apr, 2018
Revision: 3
Views: 1820
Posted: 11 Jan, 2001 by
Meltreger B.
Updated: 25 Apr, 2018 by
Meltreger B.
Others in this category
Powered by KBPublisher (Knowledge base software)