-
15. Re: Alignment not working the datatable
pvito Mar 16, 2012 4:20 AM (in response to warrior87.it)1 of 1 people found this helpfulThis 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
-
16. Re: Alignment not working the datatable
warrior87.it Mar 16, 2012 4:29 AM (in response to pvito)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 Mar 20, 2012 2:39 AM (in response to pvito)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 Mar 20, 2012 6:45 AM (in response to warrior87.it)Hi, Kathi
Use a4j:commandButton. It has attribute "oncomplete"
Regards, Vitaliy
-
19. Re: Alignment not working the datatable
warrior87.it Mar 21, 2012 1:56 AM (in response to pvito)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 Mar 21, 2012 4:17 AM (in response to warrior87.it)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:
Regards, Vitaliy
-
21. Re: Alignment not working the datatable
warrior87.it Mar 21, 2012 4:26 AM (in response to pvito)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..