The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I''m using a virtual grid to display a large quantity of data. My code in QueryCellInfo has to parse some XML, create controls in each cell and set the cell text, and it takes 20-30 seconds to do all of this.
This is ok, but the problem comes when I select all the data in the grid and try to copy it (using ctrl-C). My application appears to hang at this point, and debugging shows that the QueryCellInfo code is being called. I would expect that at worst it would take another 20-30 seconds to do the copy, but instead I''m left waiting forever.
Any ideas what might be going on?
Thanks
Akash
ADAdministrator Syncfusion Team January 27, 2006 04:07 AM UTC
Hi Akash,
try handling the ClipboardCopy event. There you could access your data directly and copy them to the clipboard. After you copied the data to the clipboard set e.Handled = true and e.Result = true. This ensures the grid won''t handle the event itsself.
Also, make sure you set
grid.Model.CutPaste.ClipboardFlags = GridDragDropFlags.Text;
Stefan