Do we need to fetch data using code to populate the grid in a secondary page? Or can it be done by mapping keys from parent page to secondary page? What is the difference between using domodal and using the Destination = Secondary page on button properties?
Thanks for posting your question!
We need not write code to fetch data into a secondary page we need to map the keys that’s it.
The difference between domodal and destination are almost the same except for, if you use domodal then you can hide the default ok, cancel buttons appearing in the secondary page online. This will be helpful if you want to have your own buttons instead of the ok and cancel buttons in the secondary page then you have to go thru the domodal only in destination secondary page the default buttons will only be seen and cannot be overridden.
As well in case of nested calls of secondary page the destination method will always follow the hierarchy in the call and even do modal will have the same functionality but you have the facility to override the hierarchy and make it return to any page as you like.