Skip to Content
0

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

Mar 01, 2017 at 11:14 AM

98

avatar image

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Attila Berencsi Mar 09, 2017 at 08:43 PM
1

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

Share
10 |10000 characters needed characters left characters exceeded