Skip to main content

gimana cara ngasi wara pada report table pdf menggunakan class ezpdf???

May 5, 2011 by aini_newbie

aini_newbie's picture

master sya mau tnya ni

saya buat report kedalm bentuk pdf dengan menggunakan libraries class ezpdf nah pas muncul report itu berupa table ..
yang jadi masalah buat saya , saya mau merubah warna pada colom di baris tertentu untuk saat ini settingan table seperti di bawah ini

$option_table = array(
				'shadeCol'=> '0.7,0.7,0.7',
				'shadeCol2' => '0.6,0.8,0.5',
				'fontSize' => 6,
				'showLines'=> 1,
				'shaded'=>2,
				'width'=>800,
				'xPos'=>17,
				'xOrientation'=>'right',
				'cols' => array(
							'no'=> array('width'=>30,'justification'=> 'center'),
							'keg'=>array('width'=>150,'justification'=>'left'),
							'ang'=>array('width'=>100,'justification'=>'left'),
							'jan'=>array('width'=>45,'justification'=>'left'),
							'feb'=>array('width'=>45,'justification'=>'left'),
							'mar'=>array('width'=>45,'justification'=>'left'),
							'apr'=>array('width'=>45,'justification'=>'left'),
							'mei'=>array('width'=>45,'justification'=>'left'),
							'jun'=>array('width'=>45,'justification'=>'left'),
							'jul'=>array('width'=>45,'justification'=>'left'),
							'ags'=>array('width'=>45,'justification'=>'left'),
							'sep'=>array('width'=>45,'justification'=>'left'),
							'okt'=>array('width'=>45,'justification'=>'left'),
							'nov'=>array('width'=>45,'justification'=>'left'),
							'des'=>array('width'=>45,'justification'=>'left')
					)
				);

sya sudah mencoba menggati shadecol dengan value yang berbeda contoh 0.5, 0.8, 1.0 mencontoh susunan defaultnya tp tidak berhasil...
mohon penceahannya ya..:)

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

ko lum ada yang bantu ya:((

May 5, 2011 by aini_newbie, 1 day 3 hours ago
Comment: 8113

aini_newbie's picture

ko lum ada yang bantu ya:((

Premium Drupal Themes by Adaptivethemes