datatable scrollable doesn't works fine
gremboxic Apr 12, 2010 3:16 AMHi!!
I'm developing a project using richfaces, and I could see that (now) at every tables where I use scrollbar doesn't works fine. I'm saying that when I use scrollbar (I don't know how explain it) but if I put over the scrollbar, mouse pointer change to icon to click it, but if I click, it doesn't do nothing...
I try put the scrollbar at the header table, and before table. When scrollbar is into the header of table when I click on the numbers this doesn't change, but when the scrollbar is before table, the selected page change, but table doesn't modify...
Obviously, first I try whit only one scrollbar, but it doesn't works
I put the code of a table that doesn't works:
<h:form>
<rich:datascroller align="left"
for="literaltable"
maxPages="20"
selectedStyle="font-weight: bold"/>
<rich:dataTable value="#{literals.dataList}"
var="var"
id="literaltable"
width="100%"
rows="5"
>
<f:facet name="header">
<rich:datascroller align="left" for="literaltable" maxPages="20" rendered="true"
selectedStyle="font-weight: bold"/>
</f:facet>
<rich:column>
<f:facet name="header">
<h:outputText value="#{literalsstr.key}"/>
</f:facet>
<h:outputText value="#{var.key}" title="#{var.key}"/>
</rich:column>
<rich:column>
<f:facet name="header">
<h:outputText value="#{literalsstr.ca}"/>
</f:facet>
<h:inputText value="#{var.ca}" title="#{var.ca}" />
</rich:column>
<rich:column >
<f:facet name="header">
<h:outputText value="#{literalsstr.sp}"/>
</f:facet>
<h:inputText value="#{var.sp}" title="#{var.sp}" />
</rich:column>
<rich:column >
<f:facet name="header">
<h:outputText value="#{literalsstr.en}"/>
</f:facet>
<h:inputText value="#{var.en}" title="#{var.en}" />
</rich:column>
<rich:column >
<f:facet name="header">
<h:outputText value="#{literalsstr.fr}"/>
</f:facet>
<h:inputText value="#{var.fr}" title="#{var.fr}" />
</rich:column>
</rich:dataTable>
</h:form>
I see at the html code of jsf page, that table is named:
<table class="rich-table " id="j_id151:literaltable"
I try to change for attribute of scrollbar to j_id151:literaltable but nothing change
I'm not sure, but could be that this problems where caused by use seam?? because I think that before use seam it works fine
At the image below you can see the two scrollbar, firts is at the 3 page, but second doesn't change
Thanks
-
datatable.png 18.7 KB