jQuery UI Widgets Forums Grid presskey in cellbeginedit

This topic contains 1 reply, has 2 voices, and was last updated by  ivailo 9 years, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • presskey in cellbeginedit #80035

    zahra
    Participant

    Hello to all
    I want on the cellbeginedit when press together Ctrl + Entre ,open a modal or popup window??

    presskey in cellbeginedit #80105

    ivailo
    Participant

    Hi zahra,

    You can achieve this with using handlekeyboardnavigation function.

    handlekeyboardnavigation: function (event) {
              var key = event.charCode ? event.charCode : event.keyCode ? event.keyCode : 0;
              if ((key == 13) && event.ctrlKey) {
                  $("#jqxwindow").jqxWindow('open');
                  return true;
              }
          },

    Here is an example.

    Best Regards,
    Ivailo Ivanov

    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.