heading on pdf export

Questionsheading on pdf export
David asked 11 years ago

Hi,

any possibility to include a row value into heading when export to pdf ?

exporting pdf invoice details with the name of customers into heading for exemple.

thanks

1 Answers
Abu Ghufran answered 11 years ago

Hello,

You can run extra mysql_query() to get your desired customer information and place in "heading" option of export.

$grid["export"] = array("format"=>"pdf", "filename"=>"my-file", "heading"=>"Invoice Details");

Your Answer

4 + 7 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?