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
If you are talking about grid headers, then thats not possible. If you're talking about the cells, then you can follow Stefan's approach!
a!richTextDisplayField( label: "sample application result", labelPosition: "JUSTIFIED", value: { a!richTextItem( text: ri!record[] ), }, preventWrapping: true ),
Is this the correct way to mention ? Even this is not wrapping the text to a single line, not sure why
Can you maybe add a screenshot and the entire code of the grid you are using?
a!columnsLayout( columns: { a!columnLayout(
contents: {
a!textfield(),
a!richtextdisplayfield(),
}
)
I am displaying my data in a column layout