Textbox Horizontal Scrollbar problem

asked 2014-06-03 14:10:53 +0800

NarekPetrosyan gravatar image NarekPetrosyan

updated 2014-06-03 14:12:20 +0800

Hi guys,

Can someone please tell me how it is possible to have a textbox with a horizontal scrollbar like this with the help of ZK?


Thanks in advance))
delete flag offensive retag edit


Try it:<textbox multiline="true"/>

sitansu ( 2014-06-03 16:14:20 +0800 )edit

Dear sitansu,

Thank you for the answer, but, unfortunately this creates a vertical scroll-bar in the text-box and not a HORIZONTAL one.

Narek ( 2014-06-05 19:10:59 +0800 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-08-02 00:25:38 +0800

Darksu gravatar image Darksu
1991 1 4

Hello NarekPetrosyan,

Please try the following code in order to have a textbox with a horizontal scrollbar:

<textbox value="This is a long text, we need a scrollbar to see this whole sentence in the textbox." style="overflow:auto;" width="200px" height="50px"/>

Best Regards,


link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools




Asked: 2014-06-03 14:10:53 +0800

Seen: 43 times

Last updated: Aug 02 '14

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More