Results 1 to 2 of 2

Thread: Hide PivotGrid Columns

  1. #1
    Ext JS Premium Member
    Join Date
    Jan 2012
    Posts
    2

    Default Hide PivotGrid Columns

    How can some PivotGrid columns be hidden?

    Label filters will hide columns, but then those hidden measures are not included in any totals. Probably because the underlying records are filtered out.

    We want to be able to let users hide columns so that they can compare a small set of columns with the Grand Totals.

  2. #2
    Sencha Premium User
    Join Date
    Dec 2009
    Location
    Iasi, Romania
    Posts
    159
    Answers
    9

    Default

    Quote Originally Posted by mike.m View Post
    How can some PivotGrid columns be hidden?

    Label filters will hide columns, but then those hidden measures are not included in any totals. Probably because the underlying records are filtered out.

    We want to be able to let users hide columns so that they can compare a small set of columns with the Grand Totals.
    Can't be done via a config. You need an override on Ext.pivot.Grid.preparePivotColumns where the column menu is disabled. Another solution would be to implement a custom context menu on the grid headers.

Similar Threads

  1. How do I set the width of pivotgrid aggregator columns?
    By ALEITZ in forum Sencha Ext JS Q&A
    Replies: 1
    Last Post: 4 Mar 2016, 8:31 AM
  2. Replies: 2
    Last Post: 16 Feb 2016, 8:19 AM
  3. How to hide some columns in a PivotGrid ?
    By sebterzi in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 17 Feb 2012, 6:18 AM
  4. Hide dimension on PivotGrid
    By vincent.rt in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 17 Feb 2012, 2:03 AM
  5. PivotGrid columns width
    By blackbumer in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 13 Feb 2011, 5:28 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •