cancel
Showing results for 
Search instead for 
Did you mean: 

SAPUI5 Smart table custom column - Issue

0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member275924
Active Participant
0 Kudos

Hi satzr,

I have the same issue. Did you solve the problem?

Could you please share your information.

Best Regards,

Phyo