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
a!columnsLayout( columns: { a!columnLayout(
contents: {
a!textfield(),
a!richtextdisplayfield(),
}
)
I am displaying my data in a column layout
Since my using the label position as justified, it's continuing in next line too. I want my label to be present in one single line
Is this what you are talking about ?
yeah exactly
This is not supported.
oh ok. Is it possible with any other layouts?
Try this, NOT IN THE READ-ONLY GRID
a!sideBySideLayout( items: { a!sideBySideItem( width: "MINIMIZE", item: a!richTextDisplayField( value: a!richTextItem( text: "Sample Application Result", style: "STRONG" ) ) ), a!sideBySideItem( item: a!textField( label: "Sample Example Result", labelPosition: "COLLAPSED" ) ) } )
Thanks for your reply. I want to display around 20 fields as a read-only
You can use richTextDisplayField for that
Beware! This does not look good for several items.