jQWidgets Forums

jQuery UI Widgets Forums General Discussions Cursor focus on listbutton grid filter

This topic contains 1 reply, has 2 voices, and was last updated by  Hristo 8 years, 1 month ago.

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

  • lightonb
    Participant

    Hello.
    I have a series of DropDownButtons that are populated with different grids.
    I am trying to mimic the tab navigation of an oracle forms app I am converting.

    When hitting tab, it jumps to the next dropdownbutton grid based on previous critia.
    My issue is, I would like to have the curser in at the filter input box of the next grid.

    Essentially allowing user to just start typing the next search filter critieria without using their mouse to click on the filter input box first.
    I’ve tried quite a few variations of the below:

    
    					$('input[name=bind_type_add]').keydown(function(e) {
    						var code = e.keyCode || e.which;
    						if (code === 9) { 
    							if(document.charge_add.bind_type_add.value == "S") {
    								$("#jqxDDB_G").jqxDropDownButton({disabled: true});
    								$("#jqxDDB_A").jqxDropDownButton({disabled: true});								
    								$("#jqxDDB_D").jqxDropDownButton('open'); /* <--opens the drop down on focus */
    								$("#jqxgrid_D").jqxGrid('focus');/* <--here is where I would like the cursor to start in the filter textbox*/
    							}
    						}
    					
    					});
    

    Hristo
    Participant

    Hello lightonb,

    We have similar topics in our forum.
    Please, take a look at this topic:
    http://www.jqwidgets.com/community/topic/moving-the-cursor-between-the-grid-and-filter-row/

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.