Announcement

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

    TextArea from a DataSource Field

    Hi All!

    I'm creating a DataSource from some metadata and need to create the field based on how they will be transformed by a form.

    I need to create a Text field into the DataSource but need to be rendered as a TextArea by the Form.

    I know that if the lenght is a little bit large it will be automatically be a TextArea, but how to do it using DataSourceTextField?

    Thanks all!

    Tercio

    #2
    Hi Tercio,

    Each component has a separately settable longTextEditorThreshold which you can use to cause the grid to use a TextItem and the form to use a TextAreaItem.

    Comment


      #3
      What about TimeItem(Form)?

      In the DataSource field we have only Date or DateTime.

      Thanks.

      Comment


        #4
        Use setEditorType(TimeItem). Take a look at the docs.

        Comment

        Working...
        X