calculated fields in custom export

Questionscalculated fields in custom export
Hello Abu asked 7 years ago

Hi Abu,

can you perhaps give a short example how to bring a calculated column value into an exported xls or pdf?
I found nothing in the demos.

regards

Michael

1 Answers
Abu Ghufran answered 7 years ago

Please refer demo demos/appearance/calc-column.php

Code: http://www.phpgrid.org/demo/demos/appearance/calc-column.phps

In this code $e["on_render_pdf"] = array("set_pdf_format", null); is not required. It should export as expected with just on_data_display event.

If it is not working for you, let me know for update.

Your Answer

13 + 1 =

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?