We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Validation when leaving the grid

I have a grid with, say, 2 columns and 4 rows of editable text boxes. When tabbing from box to box, the CurrentCellValidating event correctly fires as I tab out of the cell, except when I tab from the last cell (lower-right) out of the grid and to the next control on the form (say, a button). 1. Is CurrentCellValidating supposed to fire if you tab from a cell out of the grid control? 2. If not, is there another event that I could hook into to initiate validation on that last cell''s contents when tabbing out of the grid? Thanks in advance for any info.

1 Reply

AD Administrator Syncfusion Team September 12, 2005 09:59 AM UTC

Hi Moneypenny, You could try this: this.gridControl1.Model.Options.WrapCellBehavior = GridWrapCellBehavior.NextControlInForm;. Here is a sample: grridcellvalidation_gc.zip Best Regards, Jeba.

Loader.
Live Chat Icon For mobile
Up arrow icon