cancel
Showing results for 
Search instead for 
Did you mean: 

FilterBar expanded in List Report using Fiori elements

ajaygupta
Participant
0 Kudos

How can I set the FilterBar in a list Report Fiori app as expanded on initial load. I have tried below options.

onBeforeRebindTableExtension : function(){

     this.byId('myFilterBar').setFilterBarExpanded(true);

}

View Entire Topic
Kishannaicker
Participant
0 Kudos

Hi Ajay, you can try this and let us know if this works for you.

onBeforeRebindTableExtension: function (oEvent) {
			this.oSmartTable = oEvent.getSource();
			this.oSmartFilterBar = this.byId(this.oSmartTable.getSmartFilterId());
			// this.oPage.setHeaderExpanded(true);
			this.oSmartFilterBar.setFilterBarExpanded(true);
}

Regards,

Kishan Naicker

ajaygupta
Participant
0 Kudos

Hello Kishan,
I tried this but the filterBar was not expanded. Also there were no errors in console.

Thanks & Regards,
Ajay