Despite the COVID-19 outbreak, our team continues operating at full speed. We are always here to support and answer all your questions.

Feel free to reach out by filling this quick form.

Fill the form
Get Free Trial

Ho to programmatically set layout form

Answered
Massimo asked on March 9, 2021

Hello,
I’ve noticed that when columns are too many the pivot automatically switch from classic to compact form. I’m aware that this is done for freeing up the space for scrollable content but in some use cases our users are very disappointed by this behaviour because of the control usability changes a lot.
Is there any way to programmatically set the layout form? The best solution would be to have three available options: classic, compact, auto.
 
Thanks,
Massimo

1 answer

Public
Mykhailo Halaida Mykhailo Halaida Flexmonster March 10, 2021

Hi Massimo,
 
Thank you for posting your question.
 
As you’re already aware, the switching from classic to compact layout happens automatically – therefore, the component also doesn’t provide any tools to control this either programmatically or through the UI.
 
As a side note, we often suggest the following steps to avoid automatic switching to the compact form:

  1. Increase the size of the HTML container for the pivot table component.
  2. Resize some columns on the frozen area to leave more space for the scrollable area.
  3. Try using Flexmonster in fullscreen mode so that there is more place for the columns to be drawn.

 
Please let us know if you find this helpful.
 
Best regards,
Mykhailo

Please login or Register to Submit Answer