Exporting to Excel
-
- Profound User
- Posts: 21
- Joined: Mon Dec 15, 2014 5:21 pm
- First Name: Randy
- Last Name: Heinz
- Company Name: Southwestern Motor Transport
- Phone: 210.662.3272
- Address 1: 4600 Goldfield
- City: San Antonio
- State / Province: Texas
- Zip / Postal Code: 78218
- Country: United States
- Contact:
Exporting to Excel
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.
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Exporting to Excel
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.
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.
Who is online
Users browsing this forum: No registered users and 0 guests