-
1. How to change line using <div> withen <rich:column>?
ilya_shaikovsky Feb 22, 2011 4:09 AM (in response to anicapil)does scrolls not appears?
-
2. How to change line using <div> withen <rich:column>?
anicapil Feb 22, 2011 4:23 AM (in response to ilya_shaikovsky)it does.. but it scrolls verticle and i want horizantel :-
-
3. How to change line using <div> withen <rich:column>?
anicapil Feb 22, 2011 4:36 AM (in response to anicapil)my input string is 200 char long.. i just want that it to display in three, four or how many row's it takes.. instead to display in long column which destroyed the view :-(
-
4. How to change line using <div> withen <rich:column>?
ilya_shaikovsky Feb 22, 2011 5:00 AM (in response to anicapil)<div style="width: 300px; overflow-y: hidden; white-space: nowrap; overflow-x: scroll;">long content there</div>
should works.
-
5. How to change line using <div> withen <rich:column>?
anicapil Feb 22, 2011 5:27 AM (in response to ilya_shaikovsky)It has same effect... column is fixed and got bottom scroll. But it still scroll left and right. I want to scroll up and down. If i changed y and x to x and y... it still not work :-
-
6. How to change line using <div> withen <rich:column>?
javaxchange Feb 22, 2011 7:06 AM (in response to anicapil)Hi Anil,
I think your requirement is
1. You want only vertical scroll bar
2. If the text length exceeds the limit, you want it to be wrapped to the next line
try this,
<div style="width:330px; overflow-y:scroll; overflow-x:hidden; white-space:normal; height:30px;">
<h:outputText value="something"/>
</div>
If my understanding is right hope this will solve your issue.
Rgds,
Sreejith.PS
-
7. How to change line using <div> withen <rich:column>?
ilya_shaikovsky Feb 22, 2011 7:11 AM (in response to javaxchange)yup you're right... And I was just confused by
it does.. but it scrolls verticle and i want horizantel :-
thought that horizontal is needed and there about scrolling
-
8. How to change line using <div> withen <rich:column>?
anicapil Feb 22, 2011 7:23 AM (in response to ilya_shaikovsky)O Yes! It works. Thanks a lot...so kind of you. :-)))