How to customize pivot filter setting page

Posted by: james.ingham on 24 March 2019, 11:21 pm EST

  • Posted 24 March 2019, 11:21 pm EST - Updated 3 October 2022, 8:07 pm EST

    Hi Wijmo Support,

    Due to business requirements, we’d like to customize the pivot filter setting page a little bit. e.g.:

    Replace “Summary” label with “Aggregation”

    Replace “Weigh By” label with “Weighted Average”

    Could you help to let us know the standard way of this customization? If there’s a way to do more advanced modification, such as adding a new input box, then it’d be great.

  • Posted 26 March 2019, 6:47 am EST

    Hello,

    If you would like to customize strings in pivot field setting editor, you can use the wijmo.culture object. It contains all the strings used in wijmo.

    You can replace the labels of the editor using the strings you want. Please refer to the demo below:

    https://jsfiddle.net/5e3cf26w/

    We are still investigating how to add new controls in the field editor.

  • Posted 26 March 2019, 6:00 pm EST

    Thanks a lot! The demo is really helpful!

    At the moment we only need to customise labels, but it’d be great we can modify the control as well.

  • Posted 28 March 2019, 9:12 am EST

    Hi,

    You could modify the UI of any control by setting the static controlTemplate property. Please refer to the following sample demonstrating the same:

    https://jsfiddle.net/e3o9qn02/1/

    Regards

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels