scroll bar on field

I have a field in a field editor that when in read-only mode, i wish for it to have a scroll bar.

This particular field holds the contents of an email, therefore lots of characters over various lines.

I understand I can restrict the amount of characters visible, but this forces the user to view the record in edit mode if they are to view the contents of the whole field.

Is there any way of adding a scroll bar to a read only field

Glenn,

I don’t believe you can do this declaratively. Instead, I think it’s the perfect place to use a custom field renderer (that links to a table’s custom field renderer example, but it’s a similar principle for a field in a field editor). A start for the field renderer snippet might be something like

var field = arguments[0], value = arguments[1], $ = skuid&#46;$;<br />if (field&#46;mode == 'read') {<br />&nbsp; &nbsp; &#47;&#47;custom code here<br />} else if (field&#46;mode == 'edit') {<br /> skuid&#46;ui&#46;fieldRenderers&#46;TEXTAREA&#46;edit(field,value);<br />}


Here’s the documentation for a field of type TEXTAREA. You might also find this community post helpful, although the situation is different from yours.