i have a problem about this topic -> https://www.flexmonster.com/question/ho-to-programmatically-set-layout-form/
Is there an alternative solution? Because i need to disable the switching from classic to compact layout.
Thank you for writing to us.
At the moment, the way Flexmonster handles not enough space for the scrollable content hasn’t changed: when there are too many expanded columns, Flexmonster switches to a more compact layout in order to fit and display the grid values.
Our team provided several suggestions on how you could prevent the default behavior in the mentioned Support Ticket.
Could you please explain in a bit more detail which problem you are currently facing?
Looking forward to your reply.
the problem we’re facing at the moment is that, in some use cases, we need to use the Flexmonster Pivot to show data in time-buckets.
In such cases, the best view for our customers is the Excel-like one where hierarchy columns are fixed to the left side and time-bucket columns are displayed to the right with a scroll when necessary. This behaviour is required to be fixed, independently from the space available for the scrollable content.
Thank you for providing further details on your use case.
We understand that it is important for you to remain in
classic layout. This request has been added to our customers’ wishlist. However, changing the current behavior would require significant changes in the existing grid architecture; therefore, it is unlikely to change in the near future. Still, we will keep you updated on the matter.
Previously, our team prepared a JSFiddle example of how you could prevent the switch to compact layout: https://jsfiddle.net/flexmonster/mzvfq63p/. This example is the only implemented solution that we have at the moment, and it seems to be working well in most scenarios. Could you please let us know why the provided solution doesn’t work for you? Perhaps there is a way to adjust the workaround so that it covers all of the requirements.
Thank you, and looking forward to your answer.