cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic height for TEXTEDIT

Former Member
0 Kudos

Hi experts!

I have following requirement, the height of a textedit field should be dynamically! There should be displayed as many lines as the text needs.

There should not appear scroll bars , but the height should increase when the user enters more lines!

Is there any possability!?

Regards,

Gerhard Hangöbl

Accepted Solutions (0)

Answers (2)

Answers (2)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

I agree with what has been posted. To elaborate, there is no server side event that is triggered from within the TextEdit as you type, therefore there is no possibility to change the properties of the textEdit UI element without some external event trigger (another button or something of the sort outside the TextEdit).

Former Member
0 Kudos

Hello Gerhard,

I don't think its possible to append lines for user, just by clicking enter in TextEdit box.

But if this is the requirement, then we can go with other option, like if user wants to append lines then click extra small button just beside it, which will add up more lines to the TextEdit Box without any scrollbars.

In code, you will dynamically increase the rows of TextEdit box using its 'Rows' property.

Hope this helps!

Kind Regards,

Tejaswini.