This content has been marked as final.
Show 1 reply
-
1. Re: Horizontal Scroll bar not appearing in Extended data table !!
pbaker01 Jul 27, 2013 9:41 PM (in response to vicky82)I had a similar problem some time ago... I solved it by wrapping the extendedDataTable in a panelGrid and then in a div.
Define the percent width using the div.. I'm using pagination and I don't want vertical scroll that is why overflow-y is hidden...
I can't remember why I needed the panelGrid but the scroll would not work without it...
The margin-bottom css in the panelGrid is needed because the horizontal scroll bar was overlaying the pagination component..
margin-left:auto; margin-right:auto; text-align: center; in the panelGrid are needed to center the EDT.
Admittedly, this is not a great solution but it works for me...
<div style="width: 100%; overflow-x: auto; overflow-y: hidden;"> <h:panelGrid id="inventoryGrp" columns="1" style="margin-left:auto; margin-right:auto; text-align: center; margin-bottom: 11px;"> <rich:extendedDataTable id="inventoryTable"