Objective Grid: Navigation notification

Article ID: 63
Last updated: 16 Apr, 2018
Article ID: 63
Last updated: 16 Apr, 2018
Revision: 3
Views: 1722
Posted: 12 Jan, 2001
by Meltreger B.
Updated: 16 Apr, 2018
by Meltreger B.

Problem


What event notifies me that the user wants to navigate to another cell?


Cause



Action


The CanSelectCurrentCell() method is called from Objective Grid before grid deactivates the previous current cell and again before the grid activates the new current cell. CanSelectCurrentCell() is called with the coordinates of the old and the new current cell. If you return FALSE the grid will abort moving the current cell.

Another more powerful method that you can override is SetCurrentCell(). SetCurrentCell() is the method in Objective Grid that is responsible for positioning the current cell. SetCurrentCell() is called before CanSelectCurrentCell(). Actually, SetCurrentCell() will call CanSelectCurrentCell() and check the return value.

This article was:   Helpful | Not helpful
Report an issue
Article ID: 63
Last updated: 16 Apr, 2018
Revision: 3
Views: 1722
Posted: 12 Jan, 2001 by Meltreger B.
Updated: 16 Apr, 2018 by Meltreger B.

Others in this category