PDA

View Full Version : [CLOSED] how to set multi-line in ext:Column?



hdsoso
May 03, 2013, 1:26 PM
<ext:Column runat="server" DataIndex="info" Text="info" Flex="1" AutoScroll="true" >
<Editor>
<ext:TextArea ID="ta_info" runat="server" AutoScroll="true" AutoShow="true" Height="100">

</ext:TextArea>
</Editor>
</ext:Column>

1,the column "info" is multiline, but now it is only one line, how to set it ? maybe set propery Multiline-"true"?
2,when I click the column, the column's height = 100 , I want to set height auto according the column's text.
thanks.

Daniil
May 03, 2013, 3:00 PM
Hi @hdsoso,



1,the column "info" is multiline, but now it is only one line, how to set it ? maybe set propery Multiline-"true"?


Please try to set up Wrap="true" for the Column.



2,when I click the column, the column's height = 100 , I want to set height auto according the column's text.
thanks.

Please set up:

<ext:TextArea runat="server" Grow="true" />