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

Re: Error 400 in Table column filtering with XML view "Invalid token detected"

$
0
0

Sai Vellanki, you were right!

Thanks to this post Sorting of UI5 Odata binded Tables | SCN i found out that i did not managed the input parameters IT_FILTER_SELECT_OPTIONS and IT_ORDER in my methods.


Since keeping reading the DB for just sorting data seems to be too much heavy, I used the OpertationMode Client

 

Snippet from my view controller

 

onAfterRendering: function(){  var oTable = this.getView().byId("tableHu");  oTable.bindRows({    path: "huData>/ZodataHuListSet",    parameters: {      operationMode: sap.ui.model.odata.OperationMode.Client    }  });  },

 

Maybe it's not so elegant but it works perfectly!

Thanks again for your hint!


Viewing all articles
Browse latest Browse all 2175

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>