• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

<p:datatable scrollable="true"> not working

 
amarshi mohanty
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi There,
for the below code



nothing is displayed on the browser , but if i remove the scrollable attribute , the table is displayed properly,but i need the vertical scrollbar.
Please suggest.


Thanks,
amarshi
 
Ajil Mohan
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Amarshi,

Does p:dataTable has 'scrollable' attribute ?

regards
Ajil
 
Cesar Loachamin
Ranch Hand
Posts: 90
Chrome Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Amarshi,

Try this, first remove the scrollable="true" (if it is the problem) from the datatable and put it inside a div, just like this.


With this you have a vertical scrollbar

Regards

Cesar
 
Brendan Healey
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I think this got broken in 2.2-RC1 / 2.2-RC2. What you may wish to try is using something like:



Regards,
Brendan.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic