As you are aware GridPrint is used for printing grid contents and is being included in HFCL. Over a period of time, I have developed many additional libraries to export the grid data to CSV, HTML, PDF etc.,
I wanted to integrate all these features into a single library so that we can use by a simple call to this library and do whatever we want.
I call this library by 'HMG GridPlus'. I am just developing it. This is based on OOP model, since I wanted to give full power to the user of the library. Following is the simple syntax: (See the demo attached)
Code: Select all
oGridPlus := GridPlus():new()
oGridPlus:AddGridData( 'Form_1', 'Grid_1' )
oGridPlus:ReportHeader1( 'This is a header' )
oGridPlus:IncludeDate := .t.
oGridPlus:Export2HTML()
- Grid/Array Printing (GUI part is getting ready)
- Grid/Array Exporting to CSV/HTML (Finished)
- Inclusion of Report Header/Footer/Report Date/Time (Finished)
- Merge some headers (To be done)
- Summary of data (To be done)
- Grouping of rows (To be done)
- Easy way of selection/sizing of columns for the report. (This is the major change wanted/required in GridPrint. With the help of BosTaurus I have achieved it. (see the screenshot). If we can capture the HeaderResizing event and increase the grid width accordingly this feature will be complete).
- Selection/Preparation of Charts (developer predefined/user defined) (planned for the future)
You can ask a question why do we need an incomplete library?
I want to know about your ideas/suggestions/comments/critics in GUI, features, options, functionality etc.