When the data source is dynamically switched, the interface displays an error

Hi,

When the data source is dynamically switched, the interface displays an error!

https://stackblitz.com/edit/angular-rcttcy?file=app.component.ts

HTML:

<ejs-dashboardlayout  id="default_dashboard"  columns="2"  #default_dashboard  [cellSpacing]="cellSpacing"

    [cellAspectRatio]="5"   [allowResizing]="true"  [allowDragging]="true"  [allowFloating]="true" >

    <e-panels>

      <e-panel *ngFor="let item of layout"  [id]="item.id"   [row]="item.row"   [col]="item.col"   [sizeX]="item.x"   [sizeY]="item.y" >

        <ng-template #header>

          <div>

            {{ item.id }}

          </div>

        </ng-template>

        <ng-template #content>

          <div>

            {{ item.id }}

          </div>

        </ng-template>

      </e-panel>

    </e-panels>

  </ejs-dashboardlayout>

The Data 'layout' is dynamically.

Step1:  Click Load one

   this.layout.push({ id: 'a1', row: 0, col: 0, x: 1, y: 1 });

   this.layout.push({ id: 'a2', row: 0, col: 1, x: 1, y: 1 });



Step2: Click Load two

     this.layout .push({ id: 'b1', row: 0, col: 0, x: 2, y: 1 });

     this.layout .push({ id: 'b2', row: 1, col: 0, x: 1, y: 1 });

     this.layout .push({ id: 'b3', row: 1, col: 0, x: 1, y: 1 });



Step3:    Click Load three

   this.layout .push({ id: 'c1', row: 0, col: 0, x: 2, y: 1 });

   this.layout .push({ id: 'c2', row: 1, col: 0, x: 1, y: 1 });



Step4:

     Click Load One:

   the layout is wrong and can't display the id


5 Replies

SM Shalini Maragathavel Syncfusion Team November 18, 2021 02:23 PM UTC

Hi Wills, 
 
Greetings from Syncfusion support.  
 
We have validated your reported issue with Dashboard Layout component and considered the reported scenario “Dynamically changing the panels of Dashboard Layout is not working properly” as a bug from our end. The fix for this issue will be included in Volume 4 release by the mid of December 2021.    

You can track the status of your reported problem through the below portal link. 
  

Until then, we appreciate your patience. 

Regards,
Shalini M. 




TE techlandandyzhang June 14, 2022 09:38 AM UTC

How long will this problem be solved, it's been a long time


PM Prasanth Madhaiyan Syncfusion Team June 15, 2022 11:39 AM UTC

Hi Techlandandyzhang,


Sorry for the inconvenience.


We were unable to include the fix as promised. The fix for this issue has been included internally and is currently under testing. It will be included in our weekly patch release on June 21, 2022. We appreciate your patience.


Regards,

Prasanth Madhaiyan.



IL Indhumathy Loganathan Syncfusion Team June 28, 2022 11:49 AM UTC

Hi Techlandandyzhang,


Sorry for the inconvenience.


Due to high priority bug fixes, we are unable to include the fix for this issue as promised. The fix for this issue will be included in our weekly patch release on July 5, 2022. We appreciate your patience.


Regards,

Indhumathy L



IL Indhumathy Loganathan Syncfusion Team October 13, 2022 07:17 AM UTC

Hi Techlandandyzhang,


Sorry for the delayed response.


We are glad to announce that the issues “Dynamically changing the panels of Dashboard Layout is not working properlyhave been resolved in our release 20.2.43 and no longer occurs. To access this fix, we suggest you update the package to 20.2.43 or latest version. For your reference, we have attached a sample in the latest version.


Sample: https://stackblitz.com/edit/angular-rcttcy-y4cdlx?file=package.json,app.component.html


Feedback: https://www.syncfusion.com/feedback/30490/dynamically-changing-the-panels-of-dashboard-layout-is-not-working-properly


Release Notes: https://ej2.syncfusion.com/angular/documentation/release-notes/20.2.43/?type=all


Please let us know if you need any further assistance.


Regards,

Indhumathy L


Loader.
Up arrow icon