jQWidgets Forums

jQuery UI Widgets Forums Grid how to set focus on grid

This topic contains 3 replies, has 2 voices, and was last updated by  Dimitar 11 years, 1 month ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • how to set focus on grid #52716

    rani
    Participant

    hi,

    i have one parent grid where it contain specific details of customer grid…when i double click on particular row(say suppose 9th row ) it will open another page where it will shows its full details of that particular customer in grid, but the problem is it is not set the focus on 9th row in other grid,and when i do up arrow to move from one row to other row…it is not working..?

    regards,
    rani.

    how to set focus on grid #52758

    Dimitar
    Participant

    Hello rani,

    You can focus on a grid with the focus method, as done in the demo Keyboard Navigation, where you can directly start navigating with the arrows.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

    how to set focus on grid #52784

    rani
    Participant

    Hi ,

    thanks for reply i want to set the focus on row at some nth row(for ex: 9th row) when page load, bcz i have grid on first page..when i click particular row ,then it goes to next page and the same grid show at left panle(there i want to focus on particular clicked row focus) and full details of that particular row is at right panle(for editing)…so i need highlight or focus the row at some nth row…

    regards,
    rani.

    how to set focus on grid #52786

    Dimitar
    Participant

    Hi rani,

    In that case, please use the selectrow method along with focus, e.g.:

    $('#jqxGrid').jqxGrid('selectrow', 8);

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

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

You must be logged in to reply to this topic.