We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

QueryCellInfoHandler problem

I have a vitual grid with 64000 rows and 64000 columns. If I click on the row header/col header to select the whole row/col, then move the mouse to the border of the selecting area and click it. The QueryCellInfoHandler function query all the row/col cells, it spends a long time(maybe a hour). I think vitual grid should noly query the visible cells, not all the cells in the row/col. Is it a bug or do I need to do anything to make it run fast? Thanks

1 Reply

AD Administrator Syncfusion Team October 27, 2003 07:40 AM UTC

I think you are referring to the Ole Drag and Drop behavior. By default the grid will loop through all cells and create a Data object that contains all cells in the selected range. You can adjust this behavior by handling the QueryOleDataSourceData event. There you could supply different information, e.g. maybe just the cell coordinates of the selected range. Or if you do not need Ole Drag Drop you can turn it off with gridControl1.ControllerOptions = GridControllerOptions.All & (~GridControllerOptions.OleDataSource); Stefan

Loader.
Up arrow icon