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?
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.
It possible to exclude visible column from copy operation?
Hello tliptak,
I prepared and attached a sample in this post demonstrating this. I am hiding a certain column in the 'BeforePerformAction' event and showing it in the 'AfterPerformAction' event. This way the column is not being copied, because it is not visible in the moment of the action. So please review my approach and feel free to let me know if it does not meet your requirements or if you have any other questions.