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

How to set DropdownGridCell dropdown window size

Thread ID:





16609 Jul 20,2004 05:44 PM UTC Jul 22,2004 03:57 PM UTC WinForms 2
Tags: GridControl
Dongxian Li
Asked On July 20, 2004 05:44 PM UTC

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 05:56 PM UTC

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 03:57 PM UTC

Thanks. That solves my problem. dongxian


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

This page will automatically be redirected to the 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

Live Chat Icon For mobile
Live Chat Icon