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.

How to set DropdownGridCell dropdown window size

Thread ID:

Created:

Updated:

Platform:

Replies:

16609 Jul 20,2004 01:44 PM Jul 22,2004 11:57 AM Windows Forms 2
loading
Tags: GridControl
Dongxian Li
Asked On July 20, 2004 01:44 PM

Hello, I am using the DropdownGridCellModel and DropdownGridCellRenderer from \Grid\Samples\In Depth\DropdownGrid\CS sample as a celltype in my GridControl. It works fine to display the data. My question is: How to set the dropdown window size according to needs? I want to set the dropdown window size to just show the rows and columns in the embedded grid control(which contains a few rows and columns but is not a fixed number).

Administrator [Syncfusion]
Replied On July 20, 2004 01:56 PM

Try handling the CurrentCellShowingDropDown event. There, set e.Size to the size you want to see for the dropdown for the currentcell which you can get from grid.CurrenctCell.RowIndex and ColIndex.

Dongxian Li
Replied On July 22, 2004 11:57 AM

Thanks. That solves my problem. dongxian

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.

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.

;