Skip to Content
Former Member
Mar 23, 2007 at 09:06 AM

How to set focus in a table with input field


Hi all,

I have a table with input field in one column. Suppose the control is now on the first row and if I click on any other row, without entering anything into the input field in the first go, the control moves to that particular row.

But if I drag and select the text in the input field of another row, without just clicking on the row in the first shot, the control fails to move, though the cursor moves to the input field of that row.

I cannot expect the user to first click on the row, wait for the control to move to that row and then change the text.

Is there some way I can move the focus as soon as the user drags and selects the text in any of the input fields?

Thanks and Regards,