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

Grid Cell Focus and Locking

I am trying to give a focus by code at a particular cell of my grid like the focus method of vb.net control ( ie textcontrol) to force a user to enter a specific value , but I don't find the correct way to do it. After that I need to lock the user into this cell until he has entered a correct value. Is there any body who can help me ? Thx Fabrizio

2 Replies

AD Administrator Syncfusion Team October 5, 2003 08:50 PM UTC

Call CurrentCell.MoveTo to set focus to a specific cell. If you do this from within Form.OnLoad you should also set ForceCurrentCellMoveTo = true. To ensure the user is locked in until he enters the correct value handle the CurrentCellValidating event. Stefan


FA Fabrizio October 6, 2003 02:06 AM UTC

Tnx Stefan.

Loader.
Live Chat Icon For mobile
Up arrow icon