Custom columns on Report Explorer
Hi.
I use Report Explorer in my app to show/view/print reports, and I'd like to add some
custom columns to detailed list view. Is there a simple way to do this?
Using D7, RB 15.05.
Thanks,
Laércio
---
Este email foi escaneado pelo Avast antivírus.
https://www.avast.com/antivirus
I use Report Explorer in my app to show/view/print reports, and I'd like to add some
custom columns to detailed list view. Is there a simple way to do this?
Using D7, RB 15.05.
Thanks,
Laércio
---
Este email foi escaneado pelo Avast antivírus.
https://www.avast.com/antivirus
This discussion has been closed.
Comments
It is possible to create a custom report explorer descendent that meets
your needs. Take a look at the following example on adding a button to
the existing explorer. The same concepts would be used only you would
add new columns to the listbox.
http://www.digital-metaphors.com/rbWiki/End-User/Report_Explorer/How_To...Add_a_PDF_button
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Having a look based on your sample, I think I'll need to override/modify 2 procedures:
1. ppRptExp: procedure TppReportExplorer.GetItems(aFolderId, aItemType: Integer; aList:
TStrings);
2. ppRptExp: procedure TppItemList.GetItemsForFolder;
The column that I need to add to list view is a custom field on 'ItemPipeline' (saved on
RB_ITEM table).
What is the best way to do this?
Thanks,
La?rcio
Em 24/07/2015 11:51, Nico Cizik (Digital Metaphors) escreveu:
---
Este email foi escaneado pelo Avast antiv?rus.
https://www.avast.com/antivirus
The ListView in the explorer is handled by the TppItemsList object. You
will need to create your own replacement to this class and use it with
your custom explorer.
Currently the ListView columns are created in the SetParent routine and
defined in the SetSortModeDescription routine.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com