Set Focus/Edit on Cell
Hi,
I would like to programatically set a cell to have focus and begin editing. What is the best way to do it. For example, I would like a cell to behave like a text box. When you set focus in a text box you can immeadiately start typing into it. Is there a way to set up similar behavior for a cell.
Thanks,
Deepak
0
-
Dear Deepak,
You can programatically edit cells by calling the Cell.Edit() method. Example:
grid.Rows[2]["SomeId"].Edit();
Best regards,
Dapfor
0
Please sign in to leave a comment.
Comments
1 comment