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.

Vinz : How to display the Color Code for ColorEdit CellType?

Thread ID:

Created:

Updated:

Platform:

Replies:

22460 Dec 14,2004 01:41 AM Dec 16,2004 03:39 AM Windows Forms 4
loading
Tags: GridControl
Vincent Loy Chee Hoon
Asked On December 14, 2004 01:41 AM

Hi, Currently I got problem display the color code on the GridGroupingControl after setting the Column Celltype to ColorEdit. It keep displaying #ERROR#. How the display the selected color code from the color dialog ? is there any properties I have to set inorder to work properly ?? Thanks alot ;) Best Regards Vincent

Administrator [Syncfusion]
Replied On December 14, 2004 03:15 AM

In addition to setting sstyle.CallType = "ColorEdit", do you have the style.CellValueType = typeof(Color) for this column?

Vincent Loy Chee Hoon
Replied On December 15, 2004 06:43 PM

hi Clay, >In addition to setting sstyle.CallType = "ColorEdit", do you have the style.CellValueType = typeof(Color) for this column?

Vincent Loy Chee Hoon
Replied On December 15, 2004 06:53 PM

Hi Clay, For your information, these are the settings which I had made within the GridGroupingControl properties Dialogbox. TableDescriptors->Columns->Apprearance->AnyRecordFieldCells->Celltype = ColorEdit TableDescriptors->Columns->Apprearance->AnyRecordFieldCells->CellValueType = System.String For this particular column, I also have AddNewRecordFieldCell for selecting color for new record. The above settings are the same for this cell as well. I''m hope I had painted a clear picture for you as I dun really understand the Style.CallType and Style.CellValueType have any relationship with I had asked for. Thanks for reverifying with me. Best Regards Vincent >hi Clay, > > > > > > > >>In addition to setting sstyle.CallType = "ColorEdit", do you have the style.CellValueType = typeof(Color) for this column?

Administrator [Syncfusion]
Replied On December 16, 2004 03:39 AM

Here is a sample showing a coloredit in a column of a groupinggrid. http://64.78.18.34/Support/user/uploads/GGC_ColorEdit.zip

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.

;