Ver Mensaje Individual
  #1 (permalink)  
Antiguo 15/05/2015, 08:33
it_jorge_pv
 
Fecha de Ingreso: mayo-2015
Mensajes: 1
Antigüedad: 9 años
Puntos: 0
Pregunta Problemas haciendo tabla EZPDF!!

Buen día compañeros, espero me puedan ayudar, mi problema es cuando creo una tabla me la muestra bien pero quiero que me muestre las lineas de cada renglón, solo me muestra en grises y blanco para diferenciar cada renglón.

Aquí les dejo el código.
//////
$resEmp =mysql_query("SELECT * FROM cotizacion WHERE cotizacion= '$cotizacion'");
$totEmp = mysql_num_rows($resEmp);

$ixx = 0;
while($datatmp = mysql_fetch_assoc($resEmp)) {
$ixx = $ixx+1;
$data[] = array_merge($datatmp, array('num'=>$ixx));
}
//TABLA DE COTIZACIONES CORTINAS 1
$titles = array(
'num'=>'<b>Part</b>',
'cantidad'=>'<b>Cantidad</b>',
'detalles'=>'<b> Descripción </b>',
//'medir'=>'<b>Medida Claro Base x Altura</b>',
'mecanismo'=>'<b>Sistema Operativo</b>',
'puerta'=>'<b>Puerta de Servicio</b>',
'antepecho'=>'<b>Antepecho</b>',
'cubrerollo'=>'<b>Cubrerollo</b>',
'ct'=>'<b>Subtotal</b>'
);
$options = array(
'showBgCol'=>1,
'shadeCol'=>array(0.9,0.9,0.9,0.9,0.9,0.9,0.9,0.9, 0.9,0.9,0.9,0.9),
'xOrientation'=>'center',
'width'=>540,
'xPos'=>304,
'shaded' => 0,
'showlines' =>1,
'rowGap' => 3,
'colGap' => 3,
'innerLineThickness' =>1,
'protectRows' =>2

);

$options['fontSize']= 8;
$pdf->ezText("\n");

$pdf->ezTable($data, $titles, '', $options);