Pivot Table won't respect certain heights


As seen in https://stackblitz.com/edit/angular-825zaq?file=src/app/app.component.ts I need to make the pivot view respect heights below 310px while maintaining virtualization capabilites. is there a way I can force it`s overall height?


3 Replies 1 reply marked as answer

MM Manikandan Murugesan Syncfusion Team December 1, 2021 07:53 AM UTC

Hi Jean, 

We have analyzed the reported problem at our end. And this issue occurs due to the minimum height is defined as “300px” by default to the pivot table. However, you can modify the minimum height using the “minHeight” property in the load event at our end. Please refer to the following code example. 

Code Example: 
  <ejs-pivotview 
    #pivotview 
    (load)="onLoad($event)" 
  ></ejs-pivotview> 
 
onLoad() { 
    this.pivotObj.minHeight = this.height; 
  } 

Meanwhile, we have prepared a sample for your reference. Please find it from below link. 

 
Please let us know if you have any concerns. 
 
Regards, 
Manikandan 


Marked as answer

JS Jean Sanson December 1, 2021 02:52 PM UTC

thank you!



MM Manikandan Murugesan Syncfusion Team December 2, 2021 05:38 AM UTC

Hi Jean, 
   
Please let us know if you have any other queries. We are always happy to assist you.  
   
Regards,  
Manikandan 


Loader.
Up arrow icon