We are using Syncfusion grid version 184.108.40.206. When pasting unsupported data (like image) to text cell in Data Bound Grid, we handled the event ClipboardCanPaste and set the GridCutPasteEventArgs''s Handled to true and Result to false. However the grid still calling GridCellRendererBase.NotifyCurrentCellChanging. That marked the grid''s data as changed.
How do we prevent the cell changing event fired since we can''t paste the data and no change made to the cell.
Thanks a lot!
ADAdministrator Syncfusion Team September 30, 2004 07:34 AM
I tried to reproduce this behavior in 220.127.116.11 with the sample below, but could not. The CurrentCellChanged event did not get raised, and renderer.NotifyCurrentCellChanging was not hit when you pasted. They both were only hit when you typed into the cell.
Does this sample work for you? (If you get a syntax error when you try to compile it with 18.104.22.168, just comment out the lines with the errors.)