Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9212

date filtering in sapui5

$
0
0

Hi,

  I am using two date controls for filtering ie FROM(CM_FDATE) and TO(CM_TDATE).

  I want to filter based on date range(FROM and TO)

 

i tried this code

 

var CM_FDATE = new sap.ui.model.Filter('CREATEDON',sap.ui.model.FilterOperator.);

   var CM_TDATE = new sap.ui.model.Filter('CREATEDON',sap.ui.model.FilterOperator.);

 

var CM_FILTERMODE = new sap.ui.model.Filter(CM_STR,sap.ui.model.FilterOperator.EQ,CM_VALUE);

 

 

var CM_FILTERS = new sap.ui.model.Filter([CM_FILTERMODE,CM_FDATE,CM_TDATE],true);

oCM_RR1.bindRows('CM_EventList>/eventlist',oCM_VBOX1,null,CM_FILTERS);

 

its not working.

can any one help me Please

 

 

Thanks & Regards

chitti babu


Viewing all articles
Browse latest Browse all 9212

Trending Articles