Hide specific columns in ASP.NET MVC Pivot Table Component

18 Nov 20181 minute to read

By using the ColumnRenderevent in the PivotViewGridSettings, 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 ColumnRenderevent.

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 HeaderDelimiter in the PivotViewValueSortSettings property to any other delimiter instead of the default separator.

Hide specific columns in Pivot Table