Hi,
I used read-only grid to display data. I want the label position as justified. When I view the interface from the front end, I could see some of the fields in the read-only grid is continuing in the next line like below.
Here, I want the field "sample application result" to display in one line and not in 2 lines.
example:
sample application pass
result
I want it to get displayed as :
sample application result pass
Can someone help me out here?
Discussion posts and replies are publicly visible
Sure. Use a richTextDisplayField as the value and set preventWrapping to true.
I used a richtextdisplayfield , I am fetching the value from the record. How to give the value while using the richtextdisplayfield.
a!textField( label: "sample application result", labelPosition: "JUSTIFIED", value: a!richTextDisplayField( value: a!richTextItem( text: ),
preventWrapping: true ),
use fv!row[recortType!yourRecordtype.field]
I am confused. You cannot put a richtextdisplayfield into a textfield. Use the richtextdisplayfield only.
a!gridColumn( value: a!richTextDisplayField( value: a!richTextItem( text: fv!row.field ), )