Horizontally-Scroll-able DataTable How to create an area of your .JSP page, where dataTables can scroll (horizontally) constrained so as not to increase your page size.
How to create a Horizontally Scrollable DataTable – 1 of 2 Sometimes a dataTable is so wide (horizontally) you will need to scroll it – within a page. That is, you will need to define an independent area for the wide dataTable, confining the output to that area, and allowing users to scroll within the area. To achieve this effect, you must edit the source of the JSP, and wrap the dataTable with the following tag: • The dataTable tag looks as follows (from Source mode view): • <hx: dataTableEx> Note: the above does not work if a JSF vertical scroll bar property has been specified from the tooling for the dataTable <div style="overflow:scroll; height:400px; width:600px;"> … </div>
How to create a Horizontally Scrollable DataTable – 2 of 2 • Check out the results!