Hide specific columns in the JavaScript Pivot Table component
18 Nov 20181 minute to read
By using the columnRender event in the gridSettings, you can hide specific column(s) in the pivot table. In the example below, the “Units Sold” column under “FY 2016” is hidden by setting its visible property to false via the columnRender event.
NOTE
The dot(.) character in FY 2016.Units Sold is used by default to identify the header levels in the pivot table’s row and column. It can be changed by setting the
headerDelimiterin thevalueSortSettingsproperty to any other delimiter instead of the default separator.