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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Custom cell renderer and show button

Thread ID:

Created:

Updated:

Platform:

Replies:

55165 Jan 24,2007 03:42 PM UTC Jan 24,2007 05:39 PM UTC WinForms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On January 24, 2007 03:42 PM UTC

Hi,

I have created a custom cell renderer which switches between a combobox view and a normal static text view. Which means sometimes a see a dropdown button in the cell and sometimes not (depending on the type).

Now I have set the following in my grid:

myGrid.Appearance.AnyCell.ShowButtons = GridShowButtons.ShowCurrentRow;

Which means the buttons are painted only when I click on the specific row. This doesn't work for my custom cell renderer. I have to click in the specific cell to see the pulldown button. How is the relation between the:

myGrid.Appearance.AnyCell.ShowButtons = GridShowButtons.ShowCurrentRow;

and my custom cell renderer. How can I decide if I have to paint the button or not in my custom cell renderer - a small example would be great.

Cheers,
Chris

Administrator [Syncfusion]
Replied On January 24, 2007 05:39 PM UTC

Hi Chris,

Please refer the attached sample and let me know if this helps.
AutoOFFComboBox.zip

Best Regards,
Haneef

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

;