Message of the day:
Welcome to SilverStripe | Current stable: https://goo.gl/C4F1T9 | Feature requests: https://goo.gl/EcQ34L | Community Forum: https://forum.silverstripe.org | StripeCon EU 2019! https://stripecon.eu
If you have any SilverStripe related questions, please supply the version of Framework you're using.
Did you flush? 🚽 =
no, I mean what is the url
if it requires a PDF ofcourse.
Add your own method and override it.
well, the function within that
how do I directly address the GridFieldDetailForm_ItemRequest?
Yeh, sounds like it's an ajax issue. You don't need ajax for PDF generation and download, just directly address the pdf generator and it should work without taking you away from the page.
yeah I'm doing that, I guess the issue is it's being sent back via ajax
That would prevent the raw data being displayed.
Well, adding a button isn't that hard. In your case, you want to return the correct data and content header I think?
ah, seems I've already got UC's betterbuttons... looks like that makes it easy