Virtual GridListControl in a grid

I have a GridListControl cell in a grid.
I'm binding the combo to a DataTable that contains 200K items (don't ask me way ;-))

The first appearance of the dropdown list is very slow, so I'm trying to handle it in virtual mode, via the the usual QueryCellInfo/QueryColCount/QueryRowCount events, getting at the embedded grid via grid.CurrentCell.Renderer, but so far I had only so much success.

I can't get the dropdown to appear unless I bind a dummy DataTable to the cell and I can't get the selected item into the cell unless I copy it by myself in the CurrentCellCloseDropDown event.

Also I don't have any idea of how I could make the AutoComplete feature to work.

Could you please help?
Thanks.
Raul

2 Replies

AD Administrator Syncfusion Team November 3, 2006 06:40 AM UTC

Hi Raul,

Virtual Grid doesn't store any cell style properties. You have to provide such properties on demand through Model.QueryCellInfo. To update Cell Value for the cells to table, you can have a hashtable to maintain the CellValue for each cell. You can provide the CellValue in Model.QueryCellInfo and if edited/selected by users, you can store this in Model.SaveCellInfo.

Here is a sample.
http://www.syncfusion.com/Support/user/uploads/Modified_incidentDrop_9ca3ace0.zip

If this does not explain this issue, can you send us a sample for showing this issue. We will try to debug the issue here.

Best Regards,
Haneef


AD Administrator Syncfusion Team November 3, 2006 10:01 AM UTC

Yes, but I don't want to handle the _grid_ in virtual data mode.
It is the _combo_ that should have the data handled virtually. I'm doing that because binding a datatable containing 200K lines to the combo takes too long.
I attached a project that shows what problems I am having with it:
1) I can't get the selected item from the combo into the grid cell
2) I can't make AutoComplete work for the cell that contains the combo.

VirtualCombo.zip

Loader.
Up arrow icon