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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

CellType = "GridListControl"

Thread ID:

Created:

Updated:

Platform:

Replies:

2133 Dec 17,2002 08:09 PM UTC Dec 17,2002 08:34 PM UTC Windows Forms 1
loading
Tags: GridControl
Jeff Walstrom
Asked On December 17, 2002 08:09 PM UTC

I am currently using a combobox celltype bound to a dataview to display partnumbers using the following code: gcSection(intLoop, partColumn.PartNumber).CellType = "ComboBox" gcSection(intLoop, partColumn.PartNumber).DataSource = dvChildParts gcSection(intLoop, partColumn.PartNumber).DisplayMember = "PartNumber" gcSection(intLoop, partColumn.PartNumber).ValueMember = "ChildPartNumberID" gcSection(intLoop, partColumn.PartNumber).ExclusiveChoiceList = True gcSection(intLoop, partColumn.PartNumber).CellValue = strPartNumberID When I Change the celltype to GridListControl I only show one row of the dataview where when it was a combobox there were multible choices of partnumbers. Example Code: gcSection(intLoop, partColumn.PartNumber).CellType = "GridListControl" gcSection(intLoop, partColumn.PartNumber).DataSource = dvChildParts gcSection(intLoop, partColumn.PartNumber).DisplayMember = "PartNumber" gcSection(intLoop, partColumn.PartNumber).ValueMember = "ChildPartNumberID" gcSection(intLoop, partColumn.PartNumber).ExclusiveChoiceList = True gcSection(intLoop, partColumn.PartNumber).CellValue = strPartNumberID I want the same functionality as the ComboBox CellType but with the showing of the complete bound datasource. Any help would be appreciated. Jeff

Administrator [Syncfusion]
Replied On December 17, 2002 08:34 PM UTC

It sounds like the height of the dropdown list control is not large enough. I actually don't know why that might happen, but what you could could do is manually enlarge the height of the popup container. You can handle the CurrentCellShowingDropDown event and there resize the popup container as follows: GridDropDownCellRenderer r = (GridDropDownCellRenderer) CurrentCell.Renderer; r.PopupControlContainer.PopupHost.Size = new Size(r.PopupControlContainer.PopupHost.Width, 120); Does that help? Otherwise, please open a support incident and attach a small sample project. It should not be difficult for us to figure out then what went wrong. Stefan

CONFIRMATION

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.

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

;