jQWidgets Forums

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Setting focus to filter input Setting focus to filter input #14208

    emyann
    Member

    Hey great !!

    I’ve searched for a long time in order to have a parameter like this, but I didn’t find anything at all in the API. Sorry for having disturbed you.

    Thank you.

    in reply to: Setting focus to filter input Setting focus to filter input #14204

    emyann
    Member

    Hi,

    I have the same problem than JAG7070, I upgrade my jQWidgets to the last version (2.6.1) but the problem is still here.

    I have a jqxgrid built upon jaydata.js framework and I did a server filtering stuff. I have 2 filters, the first one is a textbox with autocomplete mecanism and the second one is a list of choices. http://hpics.li/01fb73a

    When I get the server response, I refresh the datagrid data with a “updatebounddata” command but I loose the focus on the textbox and my list filter is reset.
    I’ve found a workaround for the list filter with theses methods

    $organizationDataGrid.jqxGrid('savestate');
    $organizationDataGrid.jqxGrid("updatebounddata");
    $organizationDataGrid.jqxGrid("loadstate");

    but I don’t know how I can keep my focus on my input box.

    Any idea ?

    Thanks for all.

Viewing 2 posts - 1 through 2 (of 2 total)