cancel
Showing results for 
Search instead for 
Did you mean: 

Carriage return in a WD table cell

phildeane
Participant
0 Kudos

Hi,

I have data in a table cell which I would like to present better by adding a carriage returns so that it appears on more than one line for example as bullet points.

I can format it using HTML but can’t seem to be able to find out how to set encode to true for that cell.

Has anyone come across this problem before, or even have a simpler solution.

Cheers

Phil

Accepted Solutions (1)

Accepted Solutions (1)

former_member182372
Active Contributor
0 Kudos

Hi Phil,

Check this . On what SP level are you?

Best regards, Maksim Rashchynski.

Answers (4)

Answers (4)

phildeane
Participant
0 Kudos

Thanks Gareth, have persuaded the user to accept the data as one long string.

Made much easier in the knowledge that the problem can be solved once they have upgraded to SP16.

Cheers

Phil

phildeane
Participant
0 Kudos

Cheers, sounds closer to the answer, I'll ask Armin if there has been any definate progress as I'm currently on SP14.

Former Member
0 Kudos

I'm not sure about the exact SP, but I know that "\n" works since some SP (15?). (In older SP's, you had to put "\r\n" into the text).

Simply try to set the text of a TextView to "line1\nline2" or "line1\r\nline2" and see if it works.

Former Member
0 Kudos

Just for info, I've just tried in SP16 and it works ok with \r\n.

phildeane
Participant
0 Kudos

Hi,

Thanks for the reply, word wrapping isn't what I need though.

I need to force a couple of new lines in the same cell.

Cheers

Former Member
0 Kudos

Hi Phil,

Change the tablecelleditor element property <b>wrapping to TRUE</b> and also set the width to some pixels according to ur need.

Hope it helps,

Regards,

Nagarajan.