cancel
Showing results for 
Search instead for 
Did you mean: 

Filter Functionality in SAPUI5-Master screen

Jayakrishnan
Active Participant
0 Kudos

Hi,

  I am working in SAPUI5 framework for Fiori Applications.In my application i am having two screen(split app type). Master view and Detail view.

  In master screen, i am listing the all Orders from the Odata collection.

  i need to add the filter operation at the bottom. so if i click the filter button, it has to display the filter type, like

  1.Last 7 days,

  2.Last 30 days

  3.Last 90 days ..

  so once i click the type it will hit the backend and list out the values in the master screen based on the filter type.

  is there any Sample available to do this?

Accepted Solutions (0)

Answers (1)

Answers (1)

pfefferf
Active Contributor
0 Kudos

Hi Jayakrishnan,

did you check out already the ViewSettingsDialog Control?

Here is a link to the samples in the Explored application: https://sapui5.netweaver.ondemand.com/sdk/explored.html#/entity/sap.m.ViewSettingsDialog/samples

With that control you can display your filter values and you can react on the selection of a filter value. At the raised "confirm" event you are able to set a filter on your binding or your model if required.

Best regards,

Florian

Jayakrishnan
Active Participant
0 Kudos

Thank you Florian...i will go through this link.

Former Member
0 Kudos

Hi Florian,

I would like to show filter same as in My Contacts standard fiori application, with a filter button and on click of that button shows two menu kind of filter items.

Is there a sample available. Appreciate your help.

Yamini