Skip to Content

SAPUI5 Smart table custom column - Issue

Hi,

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

  • val1
  • val2
  • val3

2. Give another value in the selection field -> result is 1 value -> which is val4, but the smart table displays

  • val1

--> 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,

thanks

Sathish R

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers