Telerik Forums
Kendo UI for Angular Forum
1 answer
171 views

I'm struggling to find a way to display 2 different measures in the Angular Pivot Grid at the same time. 

When I provide multiple measures, it appears to just aggregate both values together. One is supposed to represent a dollar amount, and the other is the number of hours worked.

  public measures: Measure[] = [
    {
      name: 'Cost',
      value: (item) => item.GpCosts,
      aggregate: sumAggregate,
    },
    {
      name: 'TotalHours',
      value: (item) => item.TotalHours,
      aggregate: sumAggregate,
    },
  ];

It looks like this behavior is available on the JQueryUI version of the grid. I'm not sure what I'm missing, configuration wise on the Angular one.

Yanmario
Telerik team
 answered on 07 Feb 2024
1 answer
77 views
Hi, I was wondering if it is possible to have a measure assigned as a template for the cell? So, I've set the dimensions and I don't want for my data to calculate anything (like min, max, sum etc), I just want inside the cell to display a dropdown with options. I looked in the documentation but I didn't find anything about this. Thanks!
Martin Bechev
Telerik team
 answered on 24 Jan 2024
1 answer
107 views

If the following is my setup for the default row axes, even though both axes are set to expand: true, only the first one will actually be expanded when the pivot grid loads.  Maybe I am misunderstanding the point of having the name be an array of strings? the documentation doesn't seem to say what that is. Can I nest these somehow?

 

  defaultRowAxes: PivotGridAxis[] = [
    { name: ['Branch'], expand: true},
    { name: ['Truck'], expand: true },
  ];
Yanmario
Telerik team
 answered on 04 Apr 2023
1 answer
97 views

If you change the setup of a pivotgrid from the default and then you use the configurator to change things, expanding or collapsing the rows causes it to revert back to including the default setting.

You can see this on your demo page.

Yanmario
Telerik team
 answered on 04 Apr 2023
1 answer
98 views

Hello,

                  I'm trying to add filters to the pivot grid as below. Please help me to implement filter option as below by using Kendo UI Angular.

This is the code I'm using for pivot grid and don't know where to add the property to enable the filter.

    <kendo-pivotgrid [kendoPivotLocalBinding]="timingTableData" [dimensions]="dimensions" [measures]="measures"
      [rowAxes]="rows" [columnAxes]="columns" [measureAxes]="defaultMeasureAxes">
    </kendo-pivotgrid>

Dimiter Topalov
Telerik team
 answered on 14 Feb 2023
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?