Author Topic: Error in pivot?  (Read 2606 times)

resolvecomputing

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 40
    • View Profile
Error in pivot?
« on: April 03, 2018, 04:35:24 pm »
when we use one dimension and one aggregate the other dimensions are shown as empty columns. The users feel that this should not be displayed and is an error. can we suppress the unwanted dimensions when only one dimension is chosen? if so, how can we do it?

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6299
    • View Profile
Re: Error in pivot?
« Reply #1 on: April 03, 2018, 06:57:18 pm »
Unwanted panes / dimensions can be hidden in toolPanel by toolPanel configuration sub-options.

https://paramquery.com/pro/api#option-toolPanel

resolvecomputing

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 40
    • View Profile
Re: Error in pivot?
« Reply #2 on: April 04, 2018, 09:03:22 am »
I mean, I didn't choose Group column, so how can I hide other columns in table without aggregate column?
Thanks.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6299
    • View Profile
Re: Error in pivot?
« Reply #3 on: April 04, 2018, 10:58:13 pm »
Columns can be hidden in toolPanel with tpHide property.

https://paramquery.com/pro/api#option-column-tpHide

resolvecomputing

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 40
    • View Profile
Re: Error in pivot?
« Reply #4 on: April 05, 2018, 06:48:49 am »
Even if I use tpHide the column is hidden in the panel but the column itself appears as an empty column. see the illustration attached.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6299
    • View Profile
Re: Error in pivot?
« Reply #5 on: April 05, 2018, 09:56:08 am »
As mentioned earlier and in the documentation, tpHide is used to hide a column in toolPanel.

To hide a column in the grid, use column.hidden property.