i have a grid where, for every row, i want to generate a PDF on the fly.
Actually i have defined the column as follows:

text : 'Download PDF',
width : 175,
dataIndex: 'id',
renderer: function(value, metaData, record, rowIndex, colIndex, store) {
return "<a target='_blank' " +
"href='php/pdf_label.php?fp="+record.data.id+"' />PDF</a>";

It runs, all the dirty work is made on the server side .... is it the right approach? Is there a better ExtJS-ish way to do it?