genResultsTable in grid edit

  • 1
  • 2
  • Question
  • Updated 1 year ago
  • Answered
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');
Photo of Ursula Ll

Ursula Ll

  • 1,450 Points 1k badge 2x thumb

Posted 1 year ago

  • 1
  • 2
Photo of Ursula Ll

Ursula Ll

  • 1,450 Points 1k badge 2x thumb
So I figured out the best way to do this: Instead of using a GenResultsTable api call, just use the related report link on the master table form, and set it to Editable on the form settings. works like a charm, and no extra stuff.