1 2 Previous Next 21 Replies Latest reply on Mar 21, 2012 4:26 AM by warrior87.it Go to original post
      • 15. Re: Alignment not working the datatable
        pvito

        This is the documentation on version 3.3.

        There are differences version 4 and 3.

         

        I don't work with version 3, perhaps it has the client's sort.

        Sort by client side in rich:dataTable, perhaps be able to implement using javascript, but I'm not help You on this.

         

        You may use rich:extenedDataTable.

        It has client side sort. http://showcase.richfaces.org/richfaces/component-sample.jsf?demo=extendedDataTable&sample=edt-sorting&skin=blueSky

         

        Regards, Vitaliy

        1 of 1 people found this helpful
        • 16. Re: Alignment not working the datatable
          warrior87.it

          Hi vataliya,

           

          Me too using 4.0..only..

           

          i got the sorting ..option..by using your information..

           

           

          thank u ..

           

          by Karthi

          • 17. Re: Alignment not working the datatable
            warrior87.it

            hi Vitaliya..

             

            I need to call popup after the action to be done... in h:commandButton..

             

            if it is ajax the we can use the oncomplete..but in h:CommandButton..what need to use..

             

            <h:commandButton id="callpop" styleClass="styleButton"  value="#{comm.button_create}" action="#{addUser.addNewUser}" />

             

            thanks & Regards

            Kathi.........

            • 18. Re: Alignment not working the datatable
              pvito

              Hi, Kathi

               

              Use a4j:commandButton. It has attribute "oncomplete"

               

              Regards, Vitaliy

              • 19. Re: Alignment not working the datatable
                warrior87.it

                Thanks Vitaliya..

                 

                I got it...

                 

                then..I need to load one dropdown or TextBox ....base on rich:autocomplete...

                 

                I tried Like this...

                 

                In this I want to Load the email in the output text "outtext"  ..corresponding to person..loaded in the auto suggestion..but its not working.. is there any solution..Let me Know....

                <a4j:region>

                <rich:autocomplete id="autoemail" style="width:182px;height:18px" render="outtext" mode="client" value="#{addUser.autoEmp}" autocompleteList="#{addUser.employeeAuto}" onchange="#{addUser.emailChange(idemail)}" autofill="false"  fetchValue="#{cap.fName}" var="cap">

                                                <rich:column>           

                                                          <h:inputHidden value="#{cap.empEmail}" id="idemail" />

                                                                            <h:outputText value="#{cap.fName}"/>

                                                                  </rich:column>

                                                                  <a4j:ajax event="change" reRender="outtext" />

                </rich:autocomplete>    

                 

                 

                   <h:outputText id ="outtext" value="#{addUser.autoEmp}" />

                <a4j:region>

                • 20. Re: Alignment not working the datatable
                  pvito

                  Hi, Kathi

                   

                  Regrettably I did not use rich:autocomplete, may be this component must be wrap in <h:form></h:form> like in this example:

                  http://showcase.richfaces.org/richfaces/component-sample.jsf?demo=autocomplete&sample=customLayouts&skin=blueSky

                   

                  Regards, Vitaliy

                  • 21. Re: Alignment not working the datatable
                    warrior87.it

                    Thanks vitaliya..

                     

                    But i tried this..

                     

                    I need some on change event in the rich:autocomplete...

                     

                    Let me know ..If any solution for this..

                     

                     

                    Regards ,

                    Karthi..

                    1 2 Previous Next