First field with focus active
First field with focus active

Hello. What configuration and / or where do I use Datatable to leave the first field with focus active as in the image?!
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi @klermann ,
If that's an Editor form, then the first field should have the focus already. If it doesn't you can set it manually with
field().focus()
,Cheers,
Colin
.
Hi @colin. Yes, this is a Datatable Editor form and it sets focus within the code in the Editor as shown in the example, yet the field does not get focus. I tried to set by jquery in the same way that is not positive. What may be happening?
Hi @klermann ,
Try with
form-options
instead, like here. That should do the trick,Cheers,
Colin
Thanks