Class 

sap.m.IconTabBar


About

A tab bar with large icons.


Use

The IconTabBar can be used in two ways. As filter buttons for a List or as a TabBar placing all content as children to the IconTabBarFilter


As List Filter. The event select handles the setting of the List filter.




Eksample select event:


// Set filter when pushing the IconTabBar

var binding = ListTravel.getBinding("items");

var selected = oEvent.getParameter("selectedKey");

if (selected == "ALL")

{

    binding.filter([]);

}

else

{

    var filter = new sap.ui.model.Filter("STATE_TXT", "EQ", selected);

    binding.filter([filter]);

}



As TabBar. The IconTabBar handles the display/hide of child content.





Preview





Reference


API


Testsuite