Announcement

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

    How do I enable scrolling in a textarea field that is disabled for editing?

    I have a LOG field that I populate with text to record changes in other fields and stuff. It may get long, so the user must be able to scroll it, although they should not be able to edit it.

    I was unable to see any properties in VB to handle this and a search of the forums did not turn anything up.

    Any ideas?

    Thanks.

    #2
    try this: canEdit:false,editorType:"textArea"

    Code:
    isc.DynamicForm.create({
        width: 300,
        fields: [
            {title:"Description", type:"textArea",editorType:"textArea",canEdit:false,defaultValue:"ajhflkajfljaggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg"} 
        ]
    });

    Comment


      #3
      I am declaring big text fields as textarea in datasources, now. That seems to work. Disabling them in a form does what I need.

      Thanks.

      Comment

      Working...
      X