List/Multi form column sorting ------------------------------ Key: OFBIZ-1943 URL: https://issues.apache.org/jira/browse/OFBIZ-1943 Project: OFBiz Issue Type: Improvement Components: ALL COMPONENTS Reporter: Bruno Busco Priority: Minor
Hi, I would like to submit, to be reviewed, what I have done to implement sortable columns in multi and list forms. I wonder if there is a simpler and better solution that could, for instance, be implemented in the form widget itself requiring less code in the xml file. To be reviewed I implemented the sortable column in the FindExample Screen. This solution requires a little change in the framework (included in the patch). Basically the header-link-style attribute of the field tag needs to be parsed by FlexibleStringExpander in order to be used with a ${}. Two little arrow-up and arrow-down icons are also attached, those are shown close to the field name indicating which is the sorted column and the sort order. Thank you for reviewing, Bruno -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.