I have a table with many fields in it. On the grid, I use the select command to show only a few fields. But when I export to PDF, it is throwing the following exception: "TCPDF ERROR: Some data has already been output, can't send PDF file". I'm guessing that the error is because the PDF export is trying to include all the fields from the table, instead of just the ones I'm displaying.
Can you please provide information on how to resolve this?