How to use applyVariant function on smarttables?
问题 How can I use applyVariant function on a smarttable ? The documentation exist here: https://sapui5.hana.ondemand.com/sdk/#/api/sap.ui.comp.smarttable.SmartTable/methods/applyVariant But it does not say what the structure of oVariantJSON parameter should be!!! 回答1: Just try to apply a filter on your smart table and in the beforeRebindTable event of your smart table try to use the following code: onBeforeRebindTable: function(oEvent) { var oSmartTable = oEvent.getSource(); console.log