Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    FormItem have modal editing like a ListGridField

    I want to use "formatValue()" like on a "BlurbItem" to show key words as a different color but once the user clicks or tabs into the item it switches to a standard "TextItem"
    Is this possible? Thank you

    SmartClient version (available on lower left of Developer Console)

    SmartClient Version: v11.0p_2017-02-16/Pro Development Only (built 2017-02-16)

    #2
    If it's just a fixed set of colors that you want, and the entire text is one color, you could just adjust the CSS styles applied to a TextItem in focused vs blurred state.

    If you need more complex formatting, you will need a more complicated approach: make a CanvasItem containing a DynamicForm with a TextItem and a BlurbItem (or StaticTextItem) and alternately show and hide the two items when focus arrives at your CanvasItem.

    Comment


      #3
      Thank you the CanvasItem approach worked perfectly

      Comment

      Working...
      X