Get Free Trial

Can we control size and position of the inital field and measures dialog box

Cedric Gaines asked on April 2, 2020

Good Day,
We have an app that has 3 tabs and in each tab we have a FM control.  On the inital tab when loaded, the inital dialog box that allows you to select fields and measures, the box appears nice and neat moreless in the middle of the screen, but when I select the other 2 tabs, (even though they are different and pull from different cubes and such) the dialog box appears in the top left and not in the middle.
Is there a way to control where that dialog box appear, such as an inital position or something, and also do i have the ability to make that dialog wider (control with width of the box?)

4 answers

Illia Yatsyshyn Illia Yatsyshyn Flexmonster April 3, 2020

Hello, Cedric,
Thank you for contacting us.
We would like to kindly inform you that the described problem is not reproducible on our side.
We recommend checking out an example from our examples page demonstrating the recommended approach to implement tabs for different Flexmonster instances by the link.
Our team wants to draw your attention to the refresh method used in the example. The method redraws the component and should be used after the tab is changed. It may help with the positioning of the Field List pop-up.
In case it does not help, we suggest providing us with a JSFiddle where the problem would be reproducible so we could investigate it on our side.
Please let us know if it helps.
Best regards,

Cedric Gaines April 3, 2020

I don’t have an issue using multiple fm controls, but with positionsing.  Try this link below…
I’ve also attached images to see what we are seeing…


Cedric Gaines April 6, 2020

So I’m trying to answer the following questions…
1.) Can we control the width of that initial dialog box?
2.) Can we control the position of that initial dialog box. (always make it center).

Illia Yatsyshyn Illia Yatsyshyn Flexmonster April 7, 2020

Hello, Cedric,
Thank you for providing us with screenshots.
As for the link, it seems that it does not work as expected. We are facing the error when trying to open it in a browser. It would be useful for our investigation if you could share a working link with us.
Answering your question, the position of the pop-up can not be changed manually. It is created in the center of the component’s container by default.
Please note that in case tabs need to be used, Flexmonster container should be wrapped with another HTML element as demonstrated in the example we have provided earlier.
The absence of such wrappers may affect the positioning of pop-up windows and other elements of the component.
We did not manage to reproduce the problem on our side. It would be useful for our investigation if you could provide us with a JSFiddle or a sample project where the issue can be reproduced.
Our team is looking forward to hearing from you.
Best regards,

Please login or Register to Submit Answer