Posted: 2 Jul 2019 4:04 EDT Last activity: 20 Nov 2019 9:59 EST
Launch overlay on click of a row
We have a grid my requirement is to on click of a row i should launch an overlay, i am able to achieve this by placing a button in every row on click of that button launching on overlay but it should be launched on click of anywhere in the row, on table actions i am able to launch only model dialog not an overlay. Please suggest if there is anyway to achieve this.
I am able to achieve this. Source for my grid is Dpage, i have created a FA in data class and referred a section inside it on click action from grid launching Local Action it did not work created placeholder FA in baseclass it worked for me not really sure why i need to do so.
To launch an overlay on click of any where in the row, you will have to add event action set on the table. On click event select Open local action available in List Category.(2 as per below image). If you use that you will be able to use flow action from the data class( the class you have used for sourcing the grid using data page)
As per your last reply you said you were not able to use Flow action of data class. You might have selected Local action from launch category(1 as per image). If so then it will look for the flow action in the parent context of the work class where section containing the grid is configured. While your data class would not be a parent. However @baseclass would be in the parent context of the work class. That is the reason you were successful while using flow action of @baseclass.
Kindly use Open local action of List category to use Flow action of your data class.
Hope this helps. Let me know if you are successful.