1 2 Previous Next 18 Replies Latest reply on Nov 25, 2009 6:21 AM by jyothich Go to original post
      • 15. Re: Display issues with rich:extendedDataTable and rich:colu
        dandausch

        I would like to but our firewall and internet usage policies prevent me from accessing any file sharing servers.

        • 16. Re: Display issues with rich:extendedDataTable and rich:colu
          dandausch

          Some more detail around what I am seeing. Basically, I see a black frame around every component: table, each column header, the drop down on each column header for sorting, grouping, etc., each cell in each row. Does that make sense? Is this the default behavior? Hard to believe it is. Can I force these borders/frames to not display. I have been playing with border and frame attributes to no avail along with . Is there a JBoss support email that I could attach a screen snapshot to? That might be the best bet. Thanks.

          • 17. Re: Display issues with rich:extendedDataTable and rich:colu
            dandausch

            I have added a posting to JavaRanch forum->JSF and have added a JPG attachment to show the issue visually. The subject is:
            Display issues with rich:extendedDataTable and rich:column

            • 18. Re: Display issues with rich:extendedDataTable and rich:colu

              Hi,
              I also have couple of issues in rich:extendedDatatable please check it the below scenarios
              1. In rich:extendedDataTable with the help of sort ascending and sort descending option we can sort the entire table but why can’t we group the entire table. Below is the code which I’m currently using if I clicks on another page in rich:datascroller I will be able to view the ascending or descending data based on the option which I had used but unable to view the grouping of data in all the pages. If I need grouping in all pages what shall I need to do
              <rich:extendedDataTable rowClasses="list_dt_first1, list_dt_second" styleClass="scroll-background" headerClass="tablebodyFont" var="detaildata" value="#{additemmb.mliDetails}" height="600px" width="200%" cellspacing="0" cellpadding="0" id="detailSection" rows="15" rowKeyVar="rowIndex" >
              <rich:column style="text-align:center" width="75px">
              <f:facet name="header">
              <h:outputLabel styleClass="tabletextFont" value="Select"></h:outputLabel>
              </f:facet>
              <h:panelGroup>
              <h:outputText style="FONT-SIZE: 11px;" styleClass="textBoxSearchFont" value="#{detaildata.rownum}"></h:outputText>
              <h:selectBooleanCheckbox onclick="selectItem();" value="#{detaildata.toDelete}">
              </h:selectBooleanCheckbox>
              </h:panelGroup>
              </rich:column>

              <rich:column style="text-align:center" width="100px" filterBy="#{detaildata.mplItem}" filterEvent="onkeyup" label="MLI " sortable="true" sortBy="#{detaildata.mplItem}">
              <f:facet name="header">
              <h:outputLabel styleClass="tabletextFont" value="MLI"></h:outputLabel>
              </f:facet>
              <h:outputText rendered="#{!detaildata.toDelete}" styleClass="textBoxSearchFontAddItem"
              value="#{detaildata.mplItem}" ></h:outputText>
              <h:inputText size="12" rendered="#{detaildata.toDelete}" styleClass="textBoxSearchFontAddItem" maxlength="10" value="#{detaildata.mplItem}" style="FONT-SIZE: 11px;" >
              <a4j:support event="onchange" ajaxSingle="true" ></a4j:support>
              </h:inputText>
              </rich:column>



              <rich:column width="150px" style="text-align:center" sortable="true" sortBy="#{detaildata.newItem}">
              <f:facet name="header">
              <h:panelGroup>
              <h:outputLabel styleClass="tabletextFont" value="New Item"></h:outputLabel>
              *
              </h:panelGroup>
              </f:facet>
              <h:outputText styleClass="textBoxSearchFont" value="#{detaildata.newItem}" style="FONT-SIZE: 11px;" ></h:outputText>
              </rich:column>

              <rich:column style="text-align:center" sortable="true" sortBy="#{detaildata.cptlnDt}" >
              <f:facet name="header">
              <h:outputLabel styleClass="tabletextFont" value="Date Completed"></h:outputLabel>
              </f:facet>
              <h:outputText rendered="#{!detaildata.toDelete}" styleClass="textBoxSearchFontAddItem" value="#{detaildata.cptlnDt}" ></h:outputText>
              <rich:calendar rendered="#{detaildata.toDelete}" direction="top-right" styleClass="txt_mnd_fld" datePattern="MM/dd/yyyy" id = "CPLTNDate" value="#{detaildata.cptlnDate}" >
              <a4j:support event="oncollapse" ajaxSingle="true" ></a4j:support>
              </rich:calendar>
              </rich:column>

              <f:facet name="footer">
              <h:panelGroup styleClass="scroll-background" id="detailSection3" rendered="#{additemmb.mliDetailsStatus}">
              <rich:datascroller style="text-align:left" id="scroll_1" limitToList="true" page="#{additemmb.detailscrollerPage}" pageIndexVar="pageIndex" pagesVar="pages" reRender="detailSection,indexId,textId,pagesId"
              styleClass="scroll-background"
              maxPages="5" >
              <f:facet name="first" >
              <t:graphicImage url="/images/arrow-first.gif" border="1" />
              </f:facet>
              <f:facet name="last">
              <t:graphicImage url="/images/arrow-last.gif" border="1" />
              </f:facet>
              <f:facet name="previous">
              <t:graphicImage url="/images/arrow-previous.gif" border="1" />
              </f:facet>
              <f:facet name="next">
              <t:graphicImage url="/images/arrow-next.gif" border="1" />
              </f:facet>
              <f:facet name="fastforward">
              <t:graphicImage url="/images/arrow-ff.gif" border="1" />
              </f:facet>
              <f:facet name="fastrewind">
              <t:graphicImage url="/images/arrow-fr.gif" border="1" />
              </f:facet>

              <a4j:support event="onpagechange" ajaxSingle="true" ></a4j:support>
              </rich:datascroller>
              <h:panelGrid style="text-align:left" width="100%" styleClass="paginationMsg">
              <h:panelGroup>
              <h:outputText id= "indexId" value = "#{pageIndex}"></h:outputText>
              <h:outputText id= "textId" escape="false" value = " of "></h:outputText>
              <h:outputText id= "pagesId" value = "#{pages}"></h:outputText>
              <h:outputText id= "strId" escape="false" value = " Pages"></h:outputText>
              </h:panelGroup>
              </h:panelGrid>
              <rich:spacer height="2%" />

              </h:panelGroup>
              </f:facet>
              </rich:extendedDataTable>

              2. how to hide the sort ascending and descending options for a specific column in rich:extendedDataTable. (I want to hide options instead of the default disabled options).

              1 2 Previous Next