• Resolved kechuvitalione

    (@kechuvitalione)


    hello good how are you ?, first of all congratulate you for the very good plugin, I wanted to see is there any way to create an autofocus in the searchbox on a certain page, so that when it starts the focus is on the search

    thanks a lot

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    I see what you mean. You could maybe try adding this to the “Custom Commands” text field on the table’s “Edit” screen:

    "initComplete": function () { $( '#tablepress-123_filter input' ).focus(); }
    

    Here, the 123 is the table ID and has to be adjusted as necessary.

    Regards,
    Tobias

    Thread Starter kechuvitalione

    (@kechuvitalione)

    Thank you very much, it worked perfect, the plugin and the support were very good.

    Thread Starter kechuvitalione

    (@kechuvitalione)

    perfect

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ?? Good to hear that this helped!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Autofocus searchbox’ is closed to new replies.