Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Row is expanded after using TextArea as editor type of field

$
0
0
Hello Sir,

I want to display the text area when user wants to edit the cell.
After adding following lines, text from cell is displayed in multiple lines inside the test area but height of the row gets increased.

final TextAreaItem textAreaItem = new TextAreaItem();
textAreaItem.setHeight(70);
textAreaItem.setCellHeight(20);
field.setEditorType(textAreaItem);

Can any one help to solve the problem?

Thanks,
Dipak

Viewing all articles
Browse latest Browse all 4756