-
1. Re: Adding scrollbar to rich:dataTable component
ilya_shaikovsky Feb 11, 2010 6:16 AM (in response to ranveer.singh)how about just to use extendedDataTable? -
2. Re: Adding scrollbar to rich:dataTable component
ilya_shaikovsky Feb 11, 2010 6:23 AM (in response to ilya_shaikovsky)Moving thread to RichFaces space as there is nothing about RF development. -
3. Re: Adding scrollbar to rich:dataTable component
ranveer.singh Feb 11, 2010 6:57 AM (in response to ilya_shaikovsky)I want height to be fixed , because of layouting issue. So wanted to use dataTable. is there any way i can use scrollbar on table body. And i think this will good to have with the component. -
4. Re: Adding scrollbar to rich:dataTable component
ilya_shaikovsky Feb 11, 2010 7:22 AM (in response to ranveer.singh)I still can't get why extended data table component can't be used? It could be used with fixed height and probvides scrollbar. -
5. Re: Adding scrollbar to rich:dataTable component
ranveer.singh Feb 11, 2010 8:30 AM (in response to ranveer.singh)Thanks Ilya. It works. I misunderstood. -
6. Re: Adding scrollbar to rich:dataTable component
muralib12 Feb 24, 2011 6:28 AM (in response to ilya_shaikovsky)Hi ilya,
the below is my extendedDataTable code, but this does not display the vertical scrool bar.
and when the table has only one row, the row height is stretched to the table height.
let me know if i need to add anything to get the scroolbar and fixed row height.
<rich:extendedDataTable
rows="10" height="200px"
id="masterTable"
value="#{merchantInformations}" width="100%"
var="_merchantInformation"
enableContextMenu="false"
selection="#{merchantInformations.selection}"
selectionMode="single" rowKeyVar="row">
.... ...
am using richfaces-api-3.3.2.GA.jar, richfaces-impl-3.3.2.GA.jar, richfaces-ui-3.3.2.GA.jar
Thanks in advance.
-
7. Re: Adding scrollbar to rich:dataTable component
ilya_shaikovsky Feb 24, 2011 7:26 AM (in response to muralib12)was fixed in next 3.3.2.SR version. and I recommend to update to 3.3.3 final.
-
8. Re: Adding scrollbar to rich:dataTable component
muralib12 Mar 8, 2011 11:16 PM (in response to ilya_shaikovsky)Thanks ilya it works in 3.3.3.final
-
9. Re: Adding scrollbar to rich:dataTable component
muralib12 Mar 20, 2011 5:26 AM (in response to muralib12)Hi ilya,
again regarding the same problem - scroll bars with extended data table.
with 3.3.3.Final am getting the vertical scrollbars but not the horizontal scrollbar.
when i debug the html code using firebug in firefox i found the below style applied to the inner div
.extdt-content {overflow-x:hidden;overflow-y:auto;
}
<rich:extendedDataTable id="masterTable"
value="#{merchantInformationModel}" var="_merchantInformation"
reRender="masterDS" rows="5" height="120px" width="800px" frozenColumns="3"
enableContextMenu="false"
selection="#{merchantInformationModel.selection}"
selectionMode="single" rowKeyVar="row">
and even frozenColumns also not working.
using the below richfaces libraries
richfaces-api-3.3.3.Final.jar; richfaces-impl-3.3.3.Final.jar; richfaces-ui-3.3.3.Final.jar
please let me know how fix this issue.
and one more thing not able to get the scrollbars in rich:modelpanel also. point me to the correct implementation.
Thanks in advance,
-
10. Re: Adding scrollbar to rich:dataTable component
ilya_shaikovsky Mar 21, 2011 6:02 AM (in response to muralib12)till now we talked about vertical scroll. And yes EDT in 3.3.x does not suport horizontal scroll out of the box. Additional CSS tricks should be used. (need to search across the jira there were some workarounds created by the community.)
And finally need to mention that EDT in 4.x will support both scrolls.
-
11. Re: Adding scrollbar to rich:dataTable component
chelachen Feb 29, 2012 5:07 AM (in response to ilya_shaikovsky)As I try:
rich:dataTable: can't add scrollbar.
rich:extendedDataTable:can't work with
rich:columnGroup
(like
rich:dataTable use it torowspan/
colspan in header/
footer)
Now I want to add scrollbar and use
rowspan/
colspan in header/
footer. How can I do? -
12. Re: Adding scrollbar to rich:dataTable component
chelachen Feb 29, 2012 9:57 AM (in response to chelachen)