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.

Setting cell style for gridGroupingControl

Thread ID:





31235 Jul 4,2005 06:12 AM Jul 4,2005 06:34 AM Windows Forms 1
Tags: GridControl
Prathima Venkobachar
Asked On July 4, 2005 06:12 AM

Hi, I am using GridGroupingControl. I have a requirement to set a cell style for a column based on another cell value. For Eg - Based on the cell value in a row, I want to set a cell style as a combo or readonly style. If the cell is readonly then I don''t want to show the combo box and just display the values as default cell style. If the cell is editable then I want to set the cell style as a combobox. How can I do this..? Thanks, Prathima

Administrator [Syncfusion]
Replied On July 4, 2005 06:34 AM

You can use the QueryCellStyleInfo to conditionally set the style on a cell by cell basis. Here is a forum thread with soem code. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=18931


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.