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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Virtual GridListControl in a grid

Thread ID:





51312 Nov 2,2006 05:08 PM UTC Nov 3,2006 10:01 AM UTC WinForms 2
Tags: GridControl
Administrator [Syncfusion]
Asked On November 2, 2006 05:08 PM UTC

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?

Administrator [Syncfusion]
Replied On 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.

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,

Administrator [Syncfusion]
Replied On 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.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon