Page 1 of 1
Exporting to Excel
Posted: Fri May 05, 2017 11:13 am
by randyh
When a client clicks on the Export to Excel either from the column heading or bottom of the grid, what would be the trick to send something to my RPGle program so I could record when a user exported some data.
Re: Exporting to Excel
Posted: Fri May 05, 2017 6:16 pm
by Scott Klement
We do not currently provide a way to notify the RPG program when you export data.
However, what you could do:
1) Turn the export option off.
2) Put your own button widget (or image, hyperlink, etc) on the display that the user clicks for exporting.
3) Have the button/image call the grid's exportCSV routine to do the export -- or alternately, write your own export routine
Since you use your own code to initiate the export, you could also log it somewhere or whatever -- you can write whatever you wish.