snil
snil

Reputation: 11

How to add line breaks in gwt-celltable?

I want to dispaly a string with line breaks in a gwt-celltable column.How can I do it? Can someone help me.

strBuilder.append("line 1 ");
strBuilder.append("line 2");

Upvotes: 0

Views: 576

Answers (1)

Suresh Atta
Suresh Atta

Reputation: 122026

Try

strBuilder.append("line 1").append("</br>");
strBuilder.append("line 2");

Upvotes: 1

Related Questions