Hi, Abu
I've a column like this:
$col = array();
$col["title"] = "DESCRIPCION";
$col["name"] = "t_descripcion";
$col["width"] = "200";
$col["editable"] = true;
$col["edittype"] = "textarea";
$col["editoptions"] = array("rows"=>2, "cols"=>100);
$cols[] = $col;
If in a row, this column have any data, when I export grid to PDF file that is higher than the others:
http://es.tinypic.com/r/2lihk6h/9
Thanks!
The row height changes when I resize columns width in "on_render_pdf" event.
$e["on_render_pdf"] = array("set_pdf_format", null);
$grid->set_events($e);
function set_pdf_format($arr)
{
$pdf = $arr["pdf"];
$data = $arr["data"];
$pdf->SetFont('courier', '', 8);
$pdf->SetLineWidth(0.005);
$amples = array(19,12,12,20,28,160,20,12,12,12);
$pdf->SetCellWidths($amples);
$alineament = array('L','L','L','L','L','L','L','R','R','L','R','R','R');
$pdf->SetCellAlignment($alineament);
$pdf->SetHeaderCellsFillColor(205,205,205);
}