Grid Control 

Validating Cells in the Grid

 

On Focus and On Change logic can be applied to the entire grid or each cell, row or column in the grid.

By default, the On Focus logic will only execute when the grid itself initially receives focus. To trigger the On Focus logic on each individual cell, the Automatic (Signal All Changes) property (on the Attributes tab) must be selected.

This logic will be executed when you use the mouse to click on a new cell or use the arrow keys to move through the grid.