Uploaded image for project: 'ZK Spreadsheet'
  1. ZK Spreadsheet
  2. ZSS-703

Allow user to use use their own PivotTableHelper implementation

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 3.5.0
    • Component/s: ZPOI
    • Security Level: Jimmy
    • Labels:
      None

      Description

      For example:

      public class XSSFPivotTableHelpers {
          public static final XSSFPivotTableHelpers instance = new XSSFPivotTableHelpers(); 
          private PivotTableHelper _helper;
          
          // add this api for user to replace PivotTableHelper
          public static void initHelper(PivotTableHelper helper){
              instance._helper = helper; 
          }
      }
      

        Activity

        Hide
        henrichen henrichen added a comment - - edited

        Add a new method setHelper(PivotTableHelper helper). Call XSSFPivotTableHelpers.instance.setHelper() to do the job.

         
        public void setHelper(PivotTableHelper helper) {
            _helper = helper;
        }
        
        Show
        henrichen henrichen added a comment - - edited Add a new method setHelper(PivotTableHelper helper). Call XSSFPivotTableHelpers.instance.setHelper() to do the job. public void setHelper(PivotTableHelper helper) { _helper = helper; }
        Show
        henrichen henrichen added a comment - zss 3.5 https://github.com/zkoss/zkspreadsheet/commit/5546d3ca1f6a0370f4d6cd47e837e75a71a06cdd zpoi 3.9 http://gitlab.potix.com:3000/zpoi/commit/2d5f0adaa010c6ab86a7ad5d27e6cb6968bb8021
        Hide
        henrichen henrichen added a comment -

        Done.

        Show
        henrichen henrichen added a comment - Done.

          People

          • Assignee:
            Jenkins Jenkins
            Reporter:
            vincentjian vincentjian
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: