on 04-04-2014 9:09 AM
Hi,
I have an detail screen with some information fields and a list view. Now I want to have an initial focus on one specific element of the list view. Is this possible? I know you can do it with a list screen, but there I can not publish the information fields.
Hope you can give me a hint
Thanks
Thomas
Hi Thomas,
You can place the focus on the List Tile View field in the "Detail Screen Definition" --> Initial Focus. Then, as I understood, you want to place the focus on a specific entry in the list and not the first one? I'm not sure this is possible as written in the SMP documentation:
The list tile view field edit type does not support the following general field attributes:
The list tile view data and style attributes set the basic behavior of the view, including how styles can be applied to the list tile view field.
Regards,
Denis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Denis for your advice. But I can also set the initial focus on the list view element but not on a specific row in this element. And as you say, it is not possible for list tile view too. I hoped there is a hack or trick to do so, like you can set the initial focus in the navigation action step to a list screen.
Guys,
No hack needed. This is supported. You can easily set the selected row. Handle it with a List Selection action step in the navigate action. Place this after the navigate step that takes you to the new screen containing the List Tile View.
The rule should be written like an include rule, so if you know a particular property value you are looking for, do it like this:
EQSTR
MyObject -> MyProperty
"Whatever"
MyObject is the object type displayed on the List Tile View. This will find the row containing "Whatever" in MyProperty and select that row on the List Tile View.
Jason Latko - Senior Product Developer at SAP
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.