Getting event data

  • Joachim Wulf
        Has successfully completed the online course Introduction
        Has successfully completed the online course Intermediate (200)
        Has successfully completed the online course Advanced (300)
      5 years ago #17312

      Hello there,

      I am trying to get data from an sap.m.Table.onItemSelect-Event that’s triggered by a sap.m.ColumnListItem. The item was created by scripting, not in the UI-Designer. So I can’t use the “Subscribe”-block, since the item is created at runtime. The goal is to get the data from a specific item into the widgets of a detail page. My first thought was that I could simply make a script-block that listens on an event and gets the data from it, but I don’t know how that script should be triggered. And the second problem is that I don’t know how I would get the event object itself to get the chosen listItem.

      I hope I made my problem clear and that someone can help. I’d be very grateful. If you need more information or an example, just ask 🙂

      Thanks in advance!

      Mathieu Roll
          Has successfully completed the online course Introduction
          Has successfully completed the online course Intermediate (200)
          Has successfully completed the online course Advanced (300)
          Has successfully completed the online course Basics (100)
        5 years ago #17351
        Up
        0
        Down
        ::

        Hello Joachim,

        i’ve created a little demo Application.

        I hope this will help you.

        https://files.simplifier.io/f/ad6be261f13a47068b9b/?dl=1

      Viewing 2 posts - 1 through 2 (of 2 total)

      You must be logged in to reply to this topic.