For a Pivot Table component, you select the view to use and configure how the table displays.
Scripting on this page enhances content navigation, but does not change the content in any way.