Results 1 to 2 of 2

Thread: TriggerField render

  1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    11

    Default TriggerField render

    Hi all,

    I am using a TriggerField to call a modal window with dateField and timeField to edit the value a datetime object.

    Using a dateField, I can render the datetime object to a specific date format.

    However, TriggerField do not seem to have a renderer or format property. Is there some way I can render/format the value of TriggerField of dateTime object value to the format that I want?

    Thanks in advance

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,448

    Default

    You would have to extend the field and hook into when the value is set much like how the Date field does it's formatting in the setValue method
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

Tags for this Thread

Posting Permissions

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