jQWidgets Forums

jQuery UI Widgets Forums Grid copy-paste within nested grid

This topic contains 3 replies, has 3 voices, and was last updated by  colbyfraser254 6 years, 1 month ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • copy-paste within nested grid #83754

    CarolD
    Participant

    I have a jqxgrid nested within the main grid. I am able to copy-paste using ctrl+c and ctrl+v for the outer main grid. However when I select a row within the inner nested grid and press ctrl+c, nothing is copied to the clipboard. The selectionmode is multiplecellsadvanced; I have tried with enablebroswerselection:true and clipboard:true, but it doesn’t work.

    copy-paste within nested grid #83757

    ivailo
    Participant

    Hi CarolD,

    Here is our nested grid demo. You can copy data from both grids.
    Please send a working jsEditor example with your code for better analyze of the problem.

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

    copy-paste within nested grid #84151

    CarolD
    Participant

    The problem was with event bubbling. I included this within nested grid initialization
    handlekeyboardnavigation: function (event) {
    event.stopPropagation();
    }
    and it works fine now.
    Thanks.

    copy-paste within nested grid #104689

    colbyfraser254
    Participant

    The demo you linked does not allow for copying of the inner row in chrome. It seems to work in IE11. The outer table copies in chrome though. Is there a way to get support for copying the inner table selection in chrome?

    Edit:

    It seems that

    handlekeyboardnavigation: function (event) {
        event.stopPropagation();
    }

    Fixes the problem in chrome. Default behavior in chrome must be to propagate the ctrl + C to the parent table.

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

You must be logged in to reply to this topic.