Using the PerformAction(UltraWinGrid.UltraGridAction.Copy) method to copy the collection of selected cells seems to always copy the formatted (ie. displayed) value rather than the actual cell value. This can lead to significant rounding issues if a user is trying to copy values to Excel and then do some types of calculations on the pasted value.
Is there a way to cause the grid to copy the actual cell values or must we implement this functionality on our own.
Dana
Hello,
I just wanted to know if you need any further assistance with this issue?
Just let me know.
Thank you.
I have logged for you the behavior that you describe as future request I your system.
We value your input, and our philosophy is to enhance our toolset based on customer feedback. If your feature is chosen for development, you will be notified at that time. Your reference number for this feature request is FR12960.
If you would like to follow up on your feature request at a later point, you may contact Developer Support management via email. Please include the reference number of your feature request in the subject and body of your email message. You can reach Developer Support management through the following email address: dsmanager@infragistics.com
Thank you for your request.
So, in order to copy the actual cell contents we must implement the the copy operation ourselves. That is what I thought.
Thanks,
Hi Dana,
Copying from the grid uses the display text because that's what the user sees. It would be a little odd to expose values the user cannot see via copy and paste when the use cannot other see those values - although I can understand that in some cases it might be useful.
If the column in question is using the MaskInput property, then you might try setting the MaskClipMode on the column to something like Raw so that it copies the entire value. I'm not sure this will work with the MultiCellOperation copying and it might not work if you are using the Format property of the column in addition to the MaskInput, but it's worth a try.
If that doesn't work, then I think you will probably need to handle this manually for now. But you should also Submit a feature request to Infragistics.