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

Custom cell renderer and show button

Thread ID:





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


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.


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.

Best Regards,


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