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