Results 1 to 2 of 2

Thread: timefield: set color for some specific time entries or disable the entries

  1. #1
    Ext JS Premium Member
    Join Date
    Feb 2008

    Default timefield: set color for some specific time entries or disable the entries

    I would like to set a color or disable some items in a timefield.

    Is that possible? I have tried some listeners, only return false in the beforeselect works, but it would be nicer to gives a color or disable the items in the timefield that should not be selectable.

    UPDATE: actually it's even more complicated. The coloring or disabling shouldn't occur on render, but dynamically, after a click on another item in the form, the minValue and maxValue are set and then the time entries must get the color.

  2. #2
    Sencha User
    Join Date
    Feb 2017


    Here i tried something:

    Set color and type of record you want to color(both from buttons) and then expand the combo. After this still change the color or the type of records you want to color and still open it. You can modify code as you wish

Similar Threads

  1. [CLOSED] Chart: Time Axis Entries Missing
    By Graveworm in forum Ext:Bugs
    Replies: 1
    Last Post: 31 Jul 2013, 3:59 PM
  2. Replies: 3
    Last Post: 23 Oct 2012, 6:04 AM
  3. ComboBox with JsonStore not displaying text of entries but entries exist
    By aaronbartell in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 1 Jul 2010, 6:32 AM
  4. Changing color of ComboBox entries
    By BKdeveloper in forum Sencha GXT Q&A
    Replies: 5
    Last Post: 18 Sep 2009, 8:41 AM
  5. Replies: 3
    Last Post: 16 Aug 2009, 6:07 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts