Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
4 replies
Subscribers
8 subscribers
Views
2125 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Using a grid I display several rows of comments on a form. the comments vary in
bruceh
over 10 years ago
Using a grid I display several rows of comments on a form. the comments vary in length so I am looking for a dynamic paragraph field. the word wrapping with a paragraph field is nice for long comments, but is less than desired for short comments. What other options do I have? thx...
OriginalPostID-88311
OriginalPostID-88311
Discussion posts and replies are publicly visible
0
ryanj
over 10 years ago
You can always use char(13) as a newline character within paragraph fields, which will "force wrap" the contents. So if you wanted to limit the number of characters on a line in a paragraph field, you could build a custom Expression Rule that would insert char(13) at specified points within any literal to achieve the wrapping that you're looking for. There may be a more elegant solution, but nothing else is coming to mind for me right now. Good luck!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
nagavd
over 10 years ago
Ryanj, would you mind briefing the same with an example about the use case?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
bruceh
over 10 years ago
Ryan thanks! Clarification- When using a paragraph field we see the undesired white space in short comments. We would prefer to display the minimum amount of space per comment. With a paragraph field, the comment "Today is Friday" would display in a xx character paragraph box.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
ryanj
over 10 years ago
Ah, thanks for the clarification. :) I would *think* that you would be able to do what you're trying to do with JavaScript (assuming, of course, that you're using Portal as it seems is the case and not Tempo), though it might require delving a bit more deeply into the inner workings of JQuery than you'd like in order to do that.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel