Objective Grid: Deactivating the current cell

Article ID: 418
Last updated: 27 Apr, 2018
Article ID: 418
Last updated: 27 Apr, 2018
Revision: 4
Views: 1830
Posted: 09 Jan, 2001
by Meltreger B.
Updated: 27 Apr, 2018
by Meltreger B.

Problem


How can I programmatically deactivate the current cell in the grid?


Cause



Action


If you wish for any pending changes in the edited cell to be stored, call TransferCurrentCell() with an argument of TRUE.  Note that the value of the argument defaults to TRUE if not specified.

   // Deactivate current cell and store changes
   TransferCurrentCell();

If you want to deactivate the current cell but you do not wish to save any pending changes, supply FALSE as the argument:

   // Deactivate current cell, do NOT store changes
   TransferCurrentCell(FALSE);

This article was:   Helpful | Not helpful
Report an issue
Article ID: 418
Last updated: 27 Apr, 2018
Revision: 4
Views: 1830
Posted: 09 Jan, 2001 by Meltreger B.
Updated: 27 Apr, 2018 by Meltreger B.

Others in this category