jQuery UI Widgets Forums Grid jqxGrid clipboardData

This topic contains 1 reply, has 2 voices, and was last updated by  Stanislav 6 years, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • jqxGrid clipboardData #98857

    atomic
    Participant

    Hi guzs,

    I am using jqxGrid with clipboard functionalities. Everything works ok, but I am not able to get clipboardData.
    I managed to catch ctr+v event,

                    handlekeyboardnavigation: function(event)
                    {
                        var key = event.charCode ? event.charCode : event.keyCode ? event.keyCode : 0;
                        if (key == 86 && event.ctrlKey) {
                            console.log(event);
                            console.log(window.clipboardData);
                            return true;
                        }
                    },
    

    but how to get actual data that is in clipboard. I would like to refresh my chart after pasting a lot of data to grid.
    So far I would refresh chart on cellvaluechanged event, but it has performance issue if I am pasting bigger table (10×50).
    I would like to catch clipboard data before pasting and refresh chart after pasting data to grid.
    Hope there is a way. Thanks for the help.
    Cheers

    jqxGrid clipboardData #98891

    Stanislav
    Participant

    Hello atomic,

    Can you please clarify this for me?
    You want to get the clipboard data and paste it in Chart and Grid at the same time?

    If that’s it, you can start loading the data when you paste it into the grid/chart.(I mean if you paste it in the grid, for example, it loads in the chart as well).

    Best Regards,
    Stanislav

    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.