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 a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jul 23, 2020 at 02:32 AM

    Hi Sathish Ramamurthy,

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

    Could you please share your information.

    Best Regards,

    Phyo

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.