Need a special offer?Find out if your project fits.
+

Classic form switching to compact form

Answered
Satyanarayana asked on January 3, 2020

Hi Team,
 
When I have 7  to 8 Columns under row slice , Classic form is switching to Compact form.
But I want the old excel kind of layout with heirarchy sublevels placed next to each other in different column.
 
Thanks,
Satya

3 answers

Public
Mykhailo Halaida Mykhailo Halaida Flexmonster January 3, 2020

Hi Satya,
 
Thank you for reaching out.
 
Please note that the classic form is being switched to compact form when there is not enough space left for the scrollable content on the grid.
 
To avoid the automatic switching to compact form please try the following steps:

  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. Decrease the number of fields in the slice.

Please let us know if this helps.
 
Best regards,
Mykhailo

Public
Satyanarayana January 3, 2020

Hi, I did resized the HTML container but no use.
. How do i resize the columns???
We can't decrease the number of columns it's given as a user choice, were user can group by upto 20  columns as rows in slice 
 
Thanks,
Satya

Public
Mykhailo Halaida Mykhailo Halaida Flexmonster January 6, 2020

Hi Satya,
 
Thank you for your response.
 
It is possible to override maximum column width using the CSS class .fm-grid-column:

#fm-pivot-view .fm-grid-column {
max-width: 70px;
}

Please see the corresponding JSFiddle for illustration: https://jsfiddle.net/flexmonster/m6z5j1rd/
 
Kindly note that for such number of columns, we usually recommend using the full screen width for displaying the component. Viewing the grid in Fullscreen might be helpful too, as it leaves more space for the columns to be drawn.
 
Please let us know if this helps.
 
Best regards,
Mykhailo

Please login or Register to Submit Answer