Hi,
I would like to click the one row of column of IR report, to open the modal window of current page. <----------------it is ok. I can use "javascript:openModal('windowID')" to do it.
There is one form in this modal window, Meanwhile, I would like to pass column data to this form. <--------------------- it is ok also. I can use " $s('P7_ID','column_value');" to do it.
But I don't know how to trigger the "automated row fetch" process of this form to retrieve other field's value in this form.
I tried to use following 2 ways. But failed.
First method:
add one ajax process of "automated row fetch" in "page processing" block, named "get_fetch_data"
when click IR column , call "openModal", and call "apex.server.process ( "get_fetch_data", {}, { success: function( pData ) { } } );" , I tried to call above ajax process to refresh form. It is failed.
Second method:
add one process of "automated row fetch" in "page rendering" block, named "get_fetch_data"
when click IR column, call javascript api "apex.submit" to submit current page , then call "openModal".
such as : javascript:apex.submit({request:'MODIFY',set:{'P7_ID': #ID#}}); openModal('trade');
But it is failed also. the modal page is showed firstly. then page refresh. but modal window will not open again.
I am not sure if my thinking is right. Could you please provide any suggestion?
Thanks in advance,
Ping