# TableView requestFocus of field

**URL:** <https://forum.servoy.com/t/tableview-requestfocus-of-field/13433>\
**Category:** Classic Servoy\
**Created:** [January 11, 2011, 8:57am UTC](https://forum.servoy.com/t/tableview-requestfocus-of-field/13433 "2011-01-11T08:57:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Janssenjos](https://avatars.discourse-cdn.com/v4/letter/j/ee7513/32.png) [@Janssenjos](https://forum.servoy.com/u/Janssenjos)\
**Post date:** [January 11, 2011, 8:57am UTC](https://forum.servoy.com/t/tableview-requestfocus-of-field/13433/1 "2011-01-11T08:57:51Z")

</div>

hi,

I have the following question:

On a tableview (or listview) I add a new record. How can i set the focus to the first textbox of that newly record?  
I tried calling requestFocus on the name of that element, but that doesn’t work.

Any other solution?

Thanks.

---

<div class="post-metadata">

**Author:** ![Janssenjos](https://avatars.discourse-cdn.com/v4/letter/j/ee7513/32.png) [@Janssenjos](https://forum.servoy.com/u/Janssenjos)\
**Post date:** [January 11, 2011, 10:39am UTC](https://forum.servoy.com/t/tableview-requestfocus-of-field/13433/2 "2011-01-11T10:39:43Z")

</div>

To be more precisely:

I have a formDialog open, in which I’m adding the newRecord to the underlying form.  
When the formDialog is closed, the focus should be set to the first textbox of the added record.

---

<div class="post-metadata">

**Author:** ![Janssenjos](https://avatars.discourse-cdn.com/v4/letter/j/ee7513/32.png) [@Janssenjos](https://forum.servoy.com/u/Janssenjos)\
**Post date:** [January 13, 2011, 12:40pm UTC](https://forum.servoy.com/t/tableview-requestfocus-of-field/13433/3 "2011-01-13T12:40:10Z")

</div>

There is no-one who has had same problem in web-client?

Hanging a bit on this issue!
