Author Topic: On Export to excel /csv/json add disclaimer information  (Read 1725 times)

kshipra

  • Pro Enterprise
  • Jr. Member
  • *
  • Posts: 94
    • View Profile
On Export to excel /csv/json add disclaimer information
« on: August 30, 2017, 12:44:50 am »
I would like to add disclaimer information on files exported in different formats.
Is there a callback function that I can use to add information?

e.g.
# <Company> Confidential. Do not distribute.         
# Copyright (c) 2007 - 2017  All rights reserved.

I am using client side export.
« Last Edit: August 30, 2017, 12:55:41 am by kshipra »

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: On Export to excel /csv/json add disclaimer information
« Reply #1 on: August 30, 2017, 09:12:10 am »
You can append additional rows to grid data in the beforeExport event and subsequently remove them when export is complete.

https://paramquery.com/pro/api#event-beforeExport