Hi!
I have a RadGridView (v2022.1.222.40) with a high amount of elements (~90000) and when trying to copy a column I see that the Copying is taking too long. Even if I do a dummy code processing the data.
I cancel all the formats except DataFormats.Text, and it still takes too much time.
I have thought about canceling all the formats and saving the data in a variable instead of the clipboard but if I cancel everything, the Pasting event won't be triggered later... Any suggestion?
Here is my code:
private void gridView_Copying(object sender, GridViewClipboardEventArgs e)
{
if (e.Format != DataFormats.Text)
{
e.Cancel = true;
return;
}
// Do some dummy code
// Save it in the Clipboard
e.DataObject.SetData(nameof(MyCustomModel), items);
}