Search code examples
sapui5

sap.m.Table with invisible rows does not show "No data"


I have a sap.m.Table where I map an array of objects (the rows) I do not show some row by visible property in the sap.m.ColumnListItem.

All works fine but when the table does not contain any row this is the result: enter image description here

The text "No data" does not show and I see a simple empty table :(

This is the result I want to achieve: enter image description here How can I do this?


Solution

  • The answer is use Filter instead of hiding a row by formatter.