Jump to content

Help with unimemo line counter?


sicoobcooplivre

Recommended Posts

@SherzodGood Morning!
Please, I need some help: I need to know the number of lines inside a unimemo component, but sometimes the user doesn't press enter to break the line, and then unimemo.lines.count is not correctly returning the number of lines being displayed!
Is there any way I can get exactly how many lines are showing on my screen?
Thanks!

Link to comment
Share on other sites

3 hours ago, sicoobcooplivre said:

Please, I need some help: I need to know the number of lines inside a unimemo component, but sometimes the user doesn't press enter to break the line, and then unimemo.lines.count is not correctly returning the number of lines being displayed!
Is there any way I can get exactly how many lines are showing on my screen?

Hello @sicoobcooplivre

Try analyze this link:

https://www.demo2s.com/javascript/javascript-textarea-count-wrapped-lines-rows.html

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...