| Support Center

(Back to Website)

Support Center

Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

calculated fields in custom export

Michael Sinne Jul 11, 2017 02:09PM PKT

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.



Up 0 rated Down
Abu Ghufran Jul 12, 2017 10:39AM PKT PHP Grid - Support Center Engineer
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.

Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)

Contact Us

  • Post a Public Question
  • Email Us
  • Live Chat!
  • Ask the Community


    • Paste complete code that is involved in your question. You can use pastebin.com to share code link.

    Screenshots or Online link of webpage is helpful in resolution. You can also send email at address mentioned below.

    • To report an issue, Write steps to regenerate the case.

    • For email support or live chat, Use gridphp@gmail.com and add it in Google Chat.
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found