I am displaying a smart table, built with odata annotations. When the user selects a record, I want to navigate to another view. I tried with some annotations, but to no avail. So, to achieve this, I added a custom column as suggested here -> https://sapui5.hana.ondemand.com/#/sample/sap.ui.comp.sample.smarttable.mtableCustom/preview
All good -> it works in local IDE --> but after deploying it to the backend and when this is accessed from portal, I get some strange issues.
1. Have a selection field -> give a value and the list is displayed in smart table -> lets say 3 values as
2. Give another value in the selection field -> result is 1 value -> which is val4, but the smart table displays
--> though the network response shows val4 as the record.
I remove the custom column and all okay from the portal.
I am puzzled with this weird behavior. Don't know what/where is the problem. The only way I found to achieve navigation from smarttable to another (in my case) is by adding this custom column -> and use the press event of the ColumnListItem aggregation.
But what will cause a behavior like this ? Any help is appreciated,