on 2016 May 11 9:43 AM
Hi experts ,
I developed one sapui5 application. in that application i am facing one problem . The problem is i bind the list item in onInit function like this
this.getView().byId("list").bindItems("loginPage>/d/results",oTemplate,sorting,null);
this is working fine .
var sorting = new sap.ui.model.Sorter("Ebeln", false); |
here i have to know how to set the variable dynamically in place of sorting varialble. for example
press : function() {
var sorting123 = new sap.ui.model.Sorter("Ebeln", true);
here i have to get the bind list item and i have to set this(sorting123) instead of sorting variable
}
if u get any idea or if i may doing wrong plz guide me and plz share your comments ,
Warm Regards ,
Damian .A
Hi Damian,
your sorter should change dynamically based on some events right?
you can have one sorter variable and update that variable as per your requirement?
Regards,
Vikash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
71 | |
10 | |
8 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.