-
1. Re: rich:scroller with scrollable dataTable
nbelaevski Dec 11, 2009 6:23 AM (in response to ipraveenjain)Hi,
Can you please clarify: what's the use of rich:datascroller with rich:scrollableDataTable? -
2. Re: rich:scroller with scrollable dataTable
ipraveenjain Dec 11, 2009 6:50 AM (in response to ipraveenjain)ok i want pagination , and scrollabel feature of column.
i just want to diplay 10-20 records in a single window
user can stratc a perticular column to see details and reduce the size of other -
3. Re: rich:scroller with scrollable dataTable
ilya_shaikovsky Dec 11, 2009 7:18 AM (in response to ipraveenjain)extendedDataTable has possibility of column resize and designed to works with datascroller. scrollable table was not designed initially to works with the datascroller component.
-
4. Re: rich:scroller with scrollable dataTable
ipraveenjain Dec 14, 2009 1:14 AM (in response to ilya_shaikovsky)thanks it is working very fine.
now can you please specify where to use scrollabledatatable?
extendeddatatable is best option in all cases.
-
5. Re: rich:scroller with scrollable dataTable
ilya_shaikovsky Dec 14, 2009 2:42 AM (in response to ipraveenjain)It's designed to be used for large data sets without using paggination but lazy loading on vertical scroll. -
6. Re: rich:scroller with scrollable dataTable
ipraveenjain Dec 14, 2009 3:54 AM (in response to ilya_shaikovsky)whenever a column get focused a dropdown arrow appears and when i click on that a menu appears contains assending,desending, column....
how can i disable that dropdown menu.so it will not appeared any way.
-
7. Re: rich:scroller with scrollable dataTable
ipraveenjain Dec 14, 2009 3:56 AM (in response to ilya_shaikovsky)horizontal scrollbar is not appearing, how it can be appeared? -
8. Re: rich:scroller with scrollable dataTable
ilya_shaikovsky Dec 14, 2009 3:58 AM (in response to ipraveenjain)set
enableContextMenu="false"
on the table
-
9. Re: rich:scroller with scrollable dataTable
ipraveenjain Dec 14, 2009 4:04 AM (in response to ilya_shaikovsky)Attribute enableContextMenu invalid for tag extendedDataTable according to TLD
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:236) -
10. Re: rich:scroller with scrollable dataTable
ilya_shaikovsky Dec 14, 2009 4:05 AM (in response to ipraveenjain)horizontal scrollbar is not appearing, how it can be appeared?
unfortunatelly no way in current implementation. RFC for that already in jira and planned to 4.x. This compoennt is community-contributed and was originally designed only with verticall scrolling. You could put it into some scrollable container.
-
11. Re: rich:scroller with scrollable dataTable
ilya_shaikovsky Dec 14, 2009 4:06 AM (in response to ipraveenjain)Attribute enableContextMenu invalid for tag extendedDataTable according to TLD
But you could look into tld and find it there. Or maybe you using old version.
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:236) -
12. Re: rich:scroller with scrollable dataTable
ipraveenjain Dec 14, 2009 4:26 AM (in response to ilya_shaikovsky)i am already using t:panelGrip as parent componet ,but does rich faces has scrollable container, which i can use -
13. Re: rich:scroller with scrollable dataTable
ilya_shaikovsky Dec 14, 2009 4:35 AM (in response to ipraveenjain)you need just div with overflow. so use for example outputPanel with layout block and overflow added with styleClass. -
14. Re: rich:scroller with scrollable dataTable
ipraveenjain Dec 14, 2009 5:22 AM (in response to ilya_shaikovsky)it is not working see the code
but no horizontal bar.this code in on modal panel
<a4j:outputPanel layout="overflow">
<rich:extendedDataTable height="150px"
sortMode="false"
value="#{mainBind.customWizard.clstrDtl.extendedDevices}"
binding="#{mainBind.customWizard.clstrDtl.dtdeviceInfoCol}"
selection="#{mainBind.customWizard.clstrDtl.deviceInfoSelction}"
var="device" id="devicesTable"
enableContextMenu="false"
selectionMode="multiple">
<rich:column id="devicename" sortable="false">