jQWidgets Forums

jQuery UI Widgets Forums Grid grid handlekeyboardnavigation

This topic contains 2 replies, has 2 voices, and was last updated by  Peter Stoev 5 years, 4 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • grid handlekeyboardnavigation #107667

    mustafa
    Participant

    hello How do I the ctrl key on the row?

    ` handlekeyboardnavigation: function (event) {

    var index = $(“#GridStoreEntryOutTableProducts”).jqxGrid(‘getselectedrowindex’);
    var key = event.charCode ? event.charCode : event.keyCode ? event.keyCode : 0;
    debugger;

    }`

    it’s working but ctrl+d is not working
    thank you

    grid handlekeyboardnavigation #107669

    mustafa
    Participant

    hello
    i solved the problem above
    i couldn’t do I get the details of a row?

         handlekeyboardnavigation: function (event) {
                     
                    else if (event.ctrlKey && event.which === 68) { // ctrl+d 
                        event.preventDefault();
                   
                    }
                },
    grid handlekeyboardnavigation #107675

    Peter Stoev
    Keymaster

    Hi Mustafa,

    You can also take a look at the getrows api of the jqxGrid which returns the collection of all rows. It can be useful for your application scenario in combination with the currently selected row(s).

    Best wishes,
    Peter Stoev

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

You must be logged in to reply to this topic.