[CLOSED] Color field issues

  1. #1

    [CLOSED] Color field issues

    1. Is it possible to make the ColorField use color-values formatted with a hash in front? Like #00FF00 instead of 00FF00?

    2. The ColorField seems to fail if the being used as an editor and the value is undefined or null.
    Last edited by fabricio.murta; Oct 29, 2016 at 9:04 PM. Reason: no user feedback for 7+ days
  2. #2
    Hello @sveins12!

    Do you have a sample reproducing the issue with the colorfield? Did you find it in any specific example in our examples explorer?
    Fabrício Murta
    Developer & Support Expert
  3. #3
    As for the color format, use this:

    <CustomConfig>
        <ext:ConfigItem Name="format" Value="#HEX6" />
    </CustomConfig>
    Possible values are documented here: ExtJS Documentation on ColorField - Format config option.
    Fabrício Murta
    Developer & Support Expert
  4. #4
    This solved issue 1. Thank you.
  5. #5
    Hello @sveins12!

    Maybe it would help if you could provide a test case highlighting the situation where the component breaks. I believe it is not really meant to deal with nulls, you should mingle the null values to a default color from code behind or data source. Besides, posting several questions in a single thread may become confusing. Whenever possible, maybe it would be easier for us to handle and provide you better response if we keep one question per forum thread.
    Fabrício Murta
    Developer & Support Expert
  6. #6
    Hello @sveins12!

    It's been several days since your last feedback to this thread. Do you still need assistance with it?
    Fabrício Murta
    Developer & Support Expert

Similar Threads

  1. Replies: 23
    Last Post: Sep 10, 2015, 8:52 AM
  2. [CLOSED] Change Color Window's Header Background Color
    By rguardado in forum 3.x Legacy Premium Help
    Replies: 3
    Last Post: Jan 16, 2015, 3:48 PM
  3. [CLOSED] Change TreePanel background color and toolbar color
    By jchau in forum 2.x Legacy Premium Help
    Replies: 5
    Last Post: Dec 07, 2012, 4:42 PM
  4. [CLOSED] Combobox Field Background Color
    By cwolcott in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: May 04, 2012, 11:09 PM
  5. color picker field
    By king1231986 in forum 1.x Help
    Replies: 0
    Last Post: Apr 28, 2010, 6:41 AM

Posting Permissions