This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
1) surround the datatable with div tag - scroll bar is not displaying, but it takes the amount of specified width above the data table and that part appears blank.
2) surrounding the Panel grid with div tag - displays the scroll bar, but it takes height starting from table header, column headers and then columns, which is not good. And also it is taking the specified amount of height even there is no record or less records. I tried giving the percentage of height, then scrollbars not coming.
Can some one help me in resolving the issue??
Thanks in advance.
Joined: Sep 27, 2004
Looks like you do not want the headers to scroll. In that case you should try separating header and the data into different tables. Use the scrollbar style only for the table showing the data. I remember that this topic was discussed previously in this forum. You may do a search for a better solution.
Also in order to hide the default height of the panelGroup when there are no /less records, you may try two separate panelGroups one with fixed height rendered when there are some specified records and one with no fixed height rendered when there are no/less records.