This content has been marked as final.
Show 2 replies
-
1. Re: problem with extendedDataTable, is it bug?
ilya_shaikovsky Jun 8, 2009 7:09 AM (in response to sparklink)please add your page code. I've wrapped the extendedTable to tabs as at the screenshot but can't achieve such result.
-
2. Re: problem with extendedDataTable, is it bug?
sparklink Jun 9, 2009 3:33 AM (in response to sparklink)i just simply do this on multiple table :
<rich:extendedDataTable width="700px" height="250px" binding="#{adminController.extTable}" id="atable1" rows="10" style="margin:auto;" value="#{adminController.listProduct}" var="prod" rendered="true"> <rich:column id="colPK" width="15%" sortBy="#{prod.pkey}" filterBy="#{prod.pkey}" filterEvent="onkeyup" label="Prod. Key"> <f:facet name="header"> <h:outputText value="Prod. Key" /> </f:facet> <h:outputText value="#{prod.pkey}"/> </rich:column> <rich:column id="colPN" width="20%" sortBy="#{prod.productName}" filterBy="#{prod.productName}" filterEvent="onkeyup" label="Prod. Name"> <f:facet name="header"> <h:outputText value="Product Name" /> </f:facet> <h:outputText value="#{prod.productName}"/> </rich:column> <rich:column id="colMerk" width="20%" sortBy="#{prod.merk.descr}" filterBy="#{prod.merk.descr}" filterEvent="onkeyup" label="Merk"> <f:facet name="header"> <h:outputText value="Merk" /> </f:facet> <h:outputText value="#{prod.merk.descr}"/> </rich:column> <rich:column id="colType" width="20%" sortBy="#{prod.tipe.descr}" filterBy="#{prod.tipe.descr}" filterEvent="onkeyup" label="Tipe"> <f:facet name="header"> <h:outputText value="Type" /> </f:facet> <h:outputText value="#{prod.tipe.descr}"/> </rich:column> <rich:column id="colPrice" width="15%" sortBy="#{prod.price}" filterBy="#{prod.price}" filterEvent="onkeyup" label="Price"> <f:facet name="header"> <h:outputText value="Price" /> </f:facet> <h:outputText value="#{prod.price}"/> </rich:column> <rich:column id="colPAct" width="10%" sortBy="#{prod.active}" filterBy="#{prod.active}" filterEvent="onkeyup" label="Active"> <f:facet name="header"> <h:outputText value="Active" /> </f:facet> <h:outputText value="#{prod.active}"/> </rich:column> <a4j:support event="onselectionchange" action="#{adminController.FillProduct}" reRender="cmerk,tipe,desc,prc,act,pkey"/> </rich:extendedDataTable>
i'm using switch tabs client, but the result always appear like that. i'm using 4 tabs an 4 extendedTable each every tab..