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

Restrict selection in Field Editor

Answered
Sengupta asked on February 15, 2021

Is there a way I can restrict user from choosing/drag drop a FIELD (i.e measures) onto the VALUES only in the FIELDs editor just like any calculated values
All calculated values are prohibited to used as REPORT FILTER, COLUMNS, ROWS, we would like to the same for some of our Measure elements 

Attachments:
Restriction.PNG

3 answers

Public
Mykhailo Halaida Mykhailo Halaida Flexmonster February 16, 2021

Sengupta,
 
Thank you for posting your question.
 
There is currently no built-in functionality in Flexmonster that would allow "locking" the fields in the Field List and preventing them from being moved to the slice.
 
Nevertheless, if this is an essential feature for you, feel free to add your own JavaScript/CSS code that would disable/hide the required fields from the Field List once it is opened.
 
We hope you find this helpful.
 
Best regards,
Mykhailo

Public
Sengupta February 23, 2021

@Mykhailo 
Yes I could write JavaScript (executed after dialog open - "fieldslistopen") but all hooks will disappear when the screen is repainted/resized.
Do you have any event that I latch onto in case of a repaint/resize?

Public
Mykhailo Halaida Mykhailo Halaida Flexmonster February 23, 2021

Sengupta,
 
Thank you for your response.
 
At the moment, no such events exist.
 
However, as promised in the parallel thread, we will take a look at this situation and try to suggest something that might be helpful for you.
 
Best regards,
Mykhailo

Please login or Register to Submit Answer