UrsulaLl
8 years agoQrew Assistant Captain
genResultsTable in grid edit
Hi All. I am using the API_genResultsTable to generate a table in an iframe for a form. Everything is working as planned, but I would like to generate the report in grid edit mode, instead of just displaying the report. I know that you can add '&dlta=mog' to the url to send a report straight to the grid edit report, but it does not seem to be working in my case. Any ideas?
var $myiframe = $("<iframe></iframe>")
.attr('frameborder', '0').attr('width','100%')
.attr('height','55%').attr('scrolling', 'yes')
.css({'margin-top' : '-40px','margin-bottom':'30px'})
.attr('src','bmxa39dfk?act=API_GenResultsTable&AppToken=bbrja39dnxmaebt2q56zdg34gqi&query={22.EX.'+ myRelatedTR +'}&clist=14.17.16&options=sortorder-A&nv=1&dlta=mog')
.css('z-index','-1');
var $myiframe = $("<iframe></iframe>")
.attr('frameborder', '0').attr('width','100%')
.attr('height','55%').attr('scrolling', 'yes')
.css({'margin-top' : '-40px','margin-bottom':'30px'})
.attr('src','bmxa39dfk?act=API_GenResultsTable&AppToken=bbrja39dnxmaebt2q56zdg34gqi&query={22.EX.'+ myRelatedTR +'}&clist=14.17.16&options=sortorder-A&nv=1&dlta=mog')
.css('z-index','-1');