Radek
Radek

Reputation: 1413

Smart table bug

I have created a Smart Table with useTablePersonalisation="true", annotated the oData and all works fine. The data gets displayed and I can hide/show columns using table personalisation dialog, but when using the same dialog to sort/gorup/filter I get the following error:

/webapp/resources/sap/ui/comp/smarttable/SmartTable.js:6 Uncaught TypeError: Cannot read property 'columns' of undefined(…)

I have notcied the same behaviour in SAP examples. Here is a Smart Table along with smart filter and the sorting works fine: Smart Table with Smart Filter

Whereas here is a Smart Table without the smart filter and getting the same error in the console: Smart Table WITHOUT Smart Filter

Upvotes: 0

Views: 2008

Answers (1)

mkysoft
mkysoft

Reputation: 5758

It is look like a bug, you can change ui5 version to 1.28.3 from CTRL+SHIFT+ALT+P shorcut, it is working.

Upvotes: 2

Related Questions