I'd like to export the info regarding the selected row in the master section and also all the rows in the detail section, is there any way to do this?
This is currently not supported via phpgrid.
We're adding it in todos.
Thank you Abu for your quick response, I'm a paid member by the way ([email protected])
I solved it now, I used the custom export method and from there I inserted only the selected Master row and then an inserted the whole detail afterwards.
would you mind to show/send me a sample of your code?
would use it for my food database and have to show the ingredients for each row (detail) on the export
It can be achieved by generating PDF based on html.
Sir, I can't see your sample code through http://www.phpgrid.org/demo/demos/export/export-pdf-html.phps, page not found. Would you fix it?
Thank you Abu, but it would be awesome to see the sample of Christian, with details included in the pdf.
or can you tell me, how to insert a sql select in the pdf rendering
I've prepared a demo of exporting detail grid. Open the demo and Click on export for preview.
It uses custom pdf export code using html renderer, so it may take time & memory for big dataset.
Sorry for the delay.
Here are the linksfor the custom export the selected master and its details:
1.-Preview of the Master-Detail page (http://www.kanul.com/ads/tmp/masterdetail_export.txt)
I hope this helps.
Pasting sample code to gist.
We are sorry that this post was not useful for you!
Let us improve this post!
Tell us how we can improve this post?