We’re currently using Flexmonster Flat View to visualize data in a sort of preview mode. We don’t support any clicking or modification. We’ve successfully achieved this, but we’ve run into one snag: the gear icon on the headers still shows up. Our customers keep contacting support thinking it is a bug since it isn’t clickable.
Is there anyway to hide it? I’ve attached a photo to make sure we’re talking about same thing.
Thank you for reaching out to us.
To hide the gear icon on the headers, please define
showFilter property as
false in the
We have prepared an example for illustration: https://jsfiddle.net/flexmonster/350mwhx6/. As you can see, filter controls are not visible.
Also, in the sample we have specified some other properties of the
options object that could be useful for your preview mode case. You are welcome to browse the documentation for the details.
Please let us know if this works for you and if you have any additional questions.
Hi ya, we had these same configurations however we were running 2.7.19. Once we upgraded to 2.8.11 the config gear disappeared!
However, this upgrade caused us a problem which wasn’t happening in 2.7.19. When our flat table loads, and it doesn’t have any data (we never even call our backend to get the json data) it now shows the “Fields” Pop-up selector. It shows no fields, as expected but we just never want to see that pop-up. Previously, it would just show a blank grid. I’ve switched back and forth from 2.7.19 and 2.8.11 without changing any other code and it seems that was what caused it.
For our flat view, we never want that window to appear. I’ve attached our config as a file because whenever I try to copy it into code block here it strips indentation 🙁
Thanks for any help!
I just detected that the list was empty and set it to null instead. Seems to have fixed it. Let me know if there is a better way to do this.
Our team is glad to hear that your issue was fixed.
We have managed to reproduce the reported behavior on our side – indeed, Flexmonster displays the Field List if no data is loaded.
Our team is going to investigate this further and return to you with a fix ETA Aug 25th.
We hope it works for you. Please let us know in case of further questions.