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.

Hide button in combobox cell

Thread ID:

Created:

Updated:

Platform:

Replies:

56759 Feb 20,2007 11:10 AM Feb 21,2007 03:44 AM Windows Forms 1
loading
Tags: Tools
Kyle DeVoe
Asked On February 20, 2007 11:10 AM

By default, a combo box cell has a button to click even when the cell does not have focus. To match our older grid products, I would like our Syncfusion grids to only show the combobox button in the cell when the user clicks into the cell. How do I accomplish this?

thanks,

Kyle

Administrator [Syncfusion]
Replied On February 21, 2007 03:44 AM

Hi Kyle,

Setting the ShowButtons = GridShowButtons.ShowCurrentCellEditing; will show the buttons only when you enter the cell.

gridControl1[rowIndex, 1].Text = "Buttons when editing";
gridControl1[rowIndex, 3].CellType = cellType;
gridControl1[rowIndex, 3].ChoiceList = items;
gridControl1[rowIndex, 3].DropDownStyle = GridDropDownStyle.Editable;
gridControl1[rowIndex, 3].ShowButtons = GridShowButtons.ShowCurrentCellEditing;

Please refer this sample:[Combobox.zip]

Let us know if this helps.

Best Regards,
Jeba.

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.

;