Hi All,
Having one issue not able to find solution please help me out.
1. I have a list screen where 1-n records shows.
2. user can click on particular row and navigate to another list with detail screen.
3. when user click on specific row that row belogns to one master record and and this master record many record which not specific .
4. when user nevigate to list detail screen need to scroll on specific content .
here problem is that when user redirect list show and using block for show detail of submaster record so i can not pass the ID of widget to scroll to element .
Thanks in advance
Piya.
Hi Piya,
You can try this -
1. Pass the masterRecord ID and SubMasterRecordID to navigation screen as input parameter.
2. when you fetch record from aggregate or SQL and bind it with list.
3. create a one class on listItemContent or div where you are used block like below image-
class will be unique like something "Div_"+SubMasterRecordID
4. From the block return an event and pass the SubMasterRecordID.
5. Add event on screen for handle return event.
6. on this handler add condition the return event SubMasterRecordID and input SubMasterRecordID are equal then use javascript widget for fetch the id by class name which you bind on above image.
7. it will return a ID of this particular block or SubMasterRecordID HTMl element and pass this ID to scroll to element.
Hope this will help you.
Regards
Rahul
will try and update the status here
Hi!
What information you have about the sub-master record the list should scroll to ?
You need to use that info to identify the record in the list so you have to pass it to the block
Hope this give you some ideas.
Graça
Thank you @Maria da Graça Peixoto and @Rahul Sahu .
Perfect solution which i was looking @Rahul Sahu