Skip to Content
avatar image
Former Member

Is there any information about smart table navigation? Or at least simple example?

Is there any information about smart table navigation? Or at least simple example?
I am struggling to make one, as i am newbie in programming.

I would like to navigate with parameters to Detail page by clicking on list item in smart table.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Mar 09, 2017 at 08:43 PM

    Hi Artjoms,

    smart table is a wrapper for the following tables, check out the tableType property here:

    https://sapui5.hana.ondemand.com/explored.html#/entity/sap.ui.comp.smarttable.SmartTable/properties

    So events and configuration of a table wrapped can be used. Check out the possibilities of a wrapped table, and use their events for line selection. When you create an event handler of the wrapped table for the selection event, then you get the context together with the event parameters. You can extract any field of the list item bound context. So for example in case of sap.m.Table, which inherits from sap.m.ListBase, check out the itemPress event:

    https://sapui5.hana.ondemand.com/explored.html#/entity/sap.m.ListBase/events

    Kind regards

    Attila

    Add comment
    10|10000 characters needed characters exceeded