cancel
Showing results for 
Search instead for 
Did you mean: 

Client side ValueHelp or suggestions in smartfilterbar input fields

VenkyM
Participant
0 Kudos
379

Hi all,

I am using SmartFilterbar and SmartTable for one of my fiori app. We have implemented suggestions for input filterbar fields using CDS in backend. But I want to implement the same suggestions for inputs in Client side.

Is this possible? If so, Please help me with inputs.

Thanks

venkatesh.

maheshpalavalli
Active Contributor
0 Kudos

I think it won't be possible to have client side filtering in a smartfield . Any reason for that?

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member617006
Discoverer
0 Kudos

onUpdateFinished <-- call this from your table inside your smart table.

oTable = this.getView().byId("table") ; <-- table inside the smart table.

var oBinding = oTable.getBinding("items");

oBinding.sOperationMode = sap.ui.model.odata.OperationMode.Client;

Now after the table is updated you can filter on client side.