How to wrap the row text in table?

94 views Asked by At

i have created the table by using TableModel and Table API in LWUIT. I did successfully , but While adding big text ( sentence like 'this is a sample program'), it won't wrap the text instead of displayed as text with dots ( Ex: this...). How to wrap the text in row?

1

There are 1 answers

0
Shai Almog On

Override the Table's createCell method and instead of returning a Label from that method return a TextArea. Set it to editable false and invoke setUIID("TableCell") on it so it will look like a table cell.