hi guys…
can I know how to print the data from form?
this is example for the form that I want to print…
thank you…
hi guys…
can I know how to print the data from form?
this is example for the form that I want to print…
thank you…
thank you Johnny…I will try it first…
any problems, I will inform…
hi…
I already try to add the extension but I guess it didn’t work for me…
either I don’t understand or maybe the way I done it wrong…
anyone can explain to me so that I can understand??
I also try to do LIKE THIS POST, but it is also didn’t work for me…
if you open the link that I given, you will see this code…
'columns'=>array(
array(
'name'=>'nama',
'type'=>'raw',
),
array(
'name'=>'alamat',
'type'=>'raw',
),
seriously, I don’t understand this part or maybe I don’t understand it at all…
what ‘name’=>‘nama’ and ‘type’=>‘raw’ for??
since I not know all about Yii, I hope someone can explain this more detail so that I can’t understand…
thank you…
You can print a division like this using the extension
http://www.yiiframework.com/extension/printout/
In view
<?php $this->widget('application.extensions.print.printWidget', array(
'printedElement'=>'#idprint',));
?>
<div id="idprint">
//data for printing
</div>
thank you Aneesh for your reply…
I’ll try to do it first…
but I’ve a question…
it is necessary to put hashtag(#) to this “‘printedElement’=>’#idprint’,” ?
Yes. It represents the id of division want to print.
hi Aneesh…
I already try it but it also doesn’t work for me…
it error;
what should I do?