on 04-01-2008 8:32 AM
I have a textArea on my web dynpro view, and it has a width of N cols.
How can I find out the width of the textArea in pixels?
Hi Daniel,
Create a context attribute and bind it to the width property of your textarea, then just read the attribute. Do not forget to initialize your attribute with default width.
Regards,
Isaac.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Daniel,
I do not know the purpose of why you want to know the width of a textarea in pixels. Other thing that I can think of is to take a screenshot (Prnt Scrn button) and paste it in an image editor (like Photoshop). There you can measure the width of the textarea in pixels.
Regards,
Isaac Meléndez
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.