I had already tried using reflection via dataTemplate to access the ColumnGroup and RowGroup properties. It would be nice if in future versions, if possible, these were accessible directly and without having to use reflection for efficiency reasons. Expose the current field as well.
In addition to this, it would be convenient to know which row and column they refer to, in order to know which field of the Pivot dataset relates to the calculation performed, and apply custom logic to them.
In summary, expose: ColumnGroup, RowGroup, and the current field.
I am binding the PivorGrid to local data and I am validating that the list contains some records. However, the PivotGrid appears empty. It looks like if the data arrives after PivotGrid initializes, the component does not display it.
Reproduction: https://blazorrepl.telerik.com/GnYDuvFP13H5RQwk31.
===
ADMIN EDIT
===
A possible option to handle the scenario for the time being is to ensure the PivotGrid initializes only when the data is available. For that purpose, you can conditionally render the component based on the data count. Optionally, you can show a LoaderContainer while the data is being fetched.The component struggles to update Local data source when it changes. I have bound it to a value, but when that value changes it is not reflected in the UI.
The issue occurs when you update the data with an entirely new collection. Calling Rebind afterwards does not help either.
Reproduction: https://blazorrepl.telerik.com/QdvFEDkq548ianYG37.
===
ADMIN EDIT
===
A possible workaround for the time being is to dispose and re-initialize the component when the new data arrives. Here is an example: https://blazorrepl.telerik.com/cHFlaNOg49AjRPUl19.
Hello,
in the WPF Pivot component I created custom calculated fields. Please expose a similar feature in the Blazor PivotGrid.
var OeeA = new OeeA_BerechnetesFeld(); //Telerik.Pivot.Core.CalculatedField
OeeA.Name = "OEE A";
DataSource.CalculatedFields.Add(OeeA); // DataSource is the LocalDataSourceProvider
DataSource.AggregateDescriptions.Add(new CalculatedAggregateDescription { CalculatedFieldName = "OEE A", StringFormat = "#.#0" });
The current privot grid is a good start, but it is missing some key features.
Hello
Just testing the new PivotGrid and a few features seem missing which may be critical and I cannot see an easy way to customise via templates or the like.
Apologies in advance if I have just missed it in the documentation or my understanding.
In my opinion, the main purpose a developer would put a PivotGrid into a web application;
Critical
Less Critical
Aside from that, all good and works well.
Cheers
Phil
I would be much appreciated feature if we could export a pivot grid to excel in the same way that we can export a grid to excel.
Extra Credit: As an added bonus, if the excel export was actually in an Excel Pivot Table format, that would be awesome.