[jira] [Created] (OFBIZ-6517) Form/Grid crosstab field type support

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (OFBIZ-6517) Form/Grid crosstab field type support

Nicolas Malin (Jira)
Christian Carlow created OFBIZ-6517:
---------------------------------------

             Summary: Form/Grid crosstab field type support
                 Key: OFBIZ-6517
                 URL: https://issues.apache.org/jira/browse/OFBIZ-6517
             Project: OFBiz
          Issue Type: Improvement
          Components: framework
    Affects Versions: Trunk
            Reporter: Christian Carlow
            Priority: Minor


Form/Grid widgets should be extended to support crosstab functionality:
https://en.wikipedia.org/wiki/Pivot_table

Option field types seem the best grid/form widget field types on which to base this functionality.  For example:

<field name="facilityId">
    <crosstab current-description="${quantityOnHandTotal}">
        <list-options key-name="facilityId" list-name="facilitiesToPivot"/>
    </crosstab>
</field>

This would allow a list of facilitiesIds to be used as grid column titles with with cell values assigned to quantityOnHandTotal for records with facilityId matching that of the title.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)