How to hide the icon to open the listfields, is indicated in red in the attached image.
Thanks
Hello, Mauricio,
Thank you for writing to us.
We would like to inform you that it is possible via configuratorButton: false
option. More details can be found in our docs: https://www.flexmonster.com/api/options-object/.
Please let me know in case of other questions.
Regards,
Tanya
Thanks Tanya for your answer; this is my code, but don't resolved my ask:
var pivot = $("#pivotContainer").flexmonster({
global: {
localization: "/webapi/scripts/flexmonster/es.txt"
},
componentFolder: "/webapi/Content/js/Flexmonster/",
height: "100%",
beforetoolbarcreated: customizeToolbar,
report: {
dataSource: {
},
options: {
configuratorButton: false,
viewType: "grid",
grid: {
showReportFiltersArea: false
}
},
},
ready: function () {
flexmonster.load("/webapi/GenerarJsonAnalisis/1514281/239");
},
licenseKey: "XXXX-XG174T-44444-6O0K50-YYYYYY-6B624M-555555-092J31-BBBBBB-31"
});
can you tell me if I'm applying it wrong, regards.
Hello Mauricio,
Thank you for the details.
Please note, that flexmonster.load()
applies the new configuration and report
Object is overridden in that case.
So, you can either add global.options.configuratorButton: false
or include that option in the /webapi/GenerarJsonAnalisis/1514281/239
config.
Also, you can entirely hide this button using CSS (https://jsfiddle.net/flexmonster/eL7j5nst/6/):
#fm-pivot-view .fm-fields-view-wrap #fm-btn-open-fields {
display: none;
}
Hope it helps.
Regards,
Ian
Thanks, it's perfect!