Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
550
Exclude a column from being copied by a MultiCellOperation
posted

Hello,

I'd like to copy the content of selected cells into the clipboard with "grid.PerformAction(UltraGridAction.Copy);"

The selection include some hidden columns as well and the easiest way to exclude them would be:
"band.Columns[x].IgnoreMultiCellOperation = DefaultableBoolean.True;"

BUT there's this note from Infragistics: Note that operations that do not modify the values, such as Copy operation, will still be allowed on the associated cells.

Is there a way to exclude these columns from being copied, nevertheless?

Parents
  • 71886
    Offline posted

    Hello manni2,

    I attached a sample in this post in which I am always getting the correct behavior of not copying the hidden cells. Could you please try upgrading to the latest service release available for your current version or either download the trial version 11.1 of NetAdvantage controls.

    Please do not hesitate to contact us if you need any additional assistance.

    CopyGridCells.zip
Reply Children