Ignore First 3 columns while doing Copy from Context Menu

Posted by: shajiya.a on 8 December 2020, 8:11 am EST

    • Post Options:
    • Link

    Posted 8 December 2020, 8:11 am EST - Updated 3 October 2022, 3:05 pm EST

    Hi Team,

    I have a table with Flexgrid with React JS, Having context menu as (Copy & Paste). First three columns have to avoid while performing Copy and paste into grid. So that when pasting data will only paste not the ID, Checkbox columns.

    Attached screenshot for my table structure.

  • Posted 9 December 2020, 4:34 am EST

    Hi Shajiya,

    For the default copying and pasting operation (by using keyboard shortcuts), you can prevent copy or paste by handling the copying and pastingCell event of the FlexGrid. Please refer to the sample link below for reference:

    https://stackblitz.com/edit/react-dfzgcx

    If you are using some other implementation, please let us know so we can provide you a solution accordingly.

    Regards,

    Ashwin

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels