IgniteUI / igniteui-blazor

Ignite UI for Blazor component library packs 35+ native Blazor UI Controls with 60+ high-performance Charts designed for any Blazor WASM or Server-side app scenario.
https://www.infragistics.com/products/ignite-ui-blazor
3 stars 3 forks source link

IgbPivotGrid - not loading properly #134

Closed mddifilippo89 closed 2 months ago

mddifilippo89 commented 2 months ago

Created from this found issue: https://github.com/IgniteUI/igniteui-webcomponents/issues/1368

Although with Blazor I get a few different behaviors with the configuration depending on the following:

  1. With no config image
  2. With AutoGenerateConfig image
  3. With PivotConfiguration set The pivotgrid is missing image
mddifilippo89 commented 2 months ago

features.zip

MayaKirova commented 2 months ago

Is also related to this one: https://github.com/IgniteUI/igniteui-angular/issues/14705 Should be fixed once PRs in angular are merged and new version is tagged.

mddifilippo89 commented 2 months ago

@damyanpetev @MayaKirova

The pivot doesn't appear to be missing when assigning a Configuration however I am seeing no data in Blazor Server and an error in the console

Cannot read properties of undefined (reading 'headerGroupClasses')

image

BlazorServerPivot.zip

mddifilippo89 commented 2 months ago

BlazorServerPivot_Working_Old_version.zip I attached a working version of the sample. (23.2.120)

The only noticeable difference is how the configuration components like Rows, Columns, Filters etc were a collection

mddifilippo89 commented 2 months ago

Here is new sample WASM sample but with the same code using 24.1.43. I only get 1 row to show up and no row configurations.

BlazorApp30.zip

MayaKirova commented 2 months ago

@mddifilippo89 It seems that the row dimension is not enabled in the samples, so it does not show. It shows correctly after setting:

 pivotDimension3.Enabled = true;

I've noticed that this is also the case in this sample here: https://staging.infragistics.com/blazor-client/grids/pivot-grid/data-selector

So I've updated the sample so it renders correctly: https://github.com/IgniteUI/igniteui-blazor-examples/pull/813

mddifilippo89 commented 2 months ago

Is this a breaking change?

mddifilippo89 commented 2 months ago

@MayaKirova @damyanpetev

I am only seeing 1 row when setting Enabled on pivotDimension3.

mddifilippo89 commented 2 months ago

In version 23.1.120:

image

MayaKirova commented 2 months ago

@mddifilippo89 Make sure also not to mix both of these:

                      AutoGenerateConfig=true
                      PivotConfiguration="PivotConfiguration"

It should either be autogenerated or it should use the set config. Here's a sample: BlazorServerApp1.zip

dkamburov commented 2 months ago

Please re-open if there are additional questions on this one.