Get Free Trial

Can function buttons be customized?

Answered
xingyu asked on May 11, 2022

hi,
I’m looking at a .NET Core server instance downloaded from github.
Can function buttons be customized? I want to add some conditions myself, but it’s a bit out of tune with Flexmonster.
For example, the green button in the upper right corner of P1 is some conditions that we need to select when using this query page. A query is the fetch that triggers the data.
If I can’t customize it, can I hide the button and leave only the data area?

Attachments:
P1.png
P2.png

2 answers

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster May 11, 2022

Hello!
 
Thank you for your question.
 
Our team wants to inform you that Toolbar can be fully customized using the beforetoolbarcreated event. 
You can add new tabs as in the example: https://jsfiddle.net/flexmonster/m7e74ay4/.
 
You can also hide the Toolbar if needed. Toolbar is hidden by default, so you can omit the toolbar property when creating Flexmonster instance or explicitly set it to false:

new Flexmonster({
   container: ...,
   toolbar: false,
   ...
});

Here’s a JSFiddle for reference: https://jsfiddle.net/flexmonster/xzohfgqz/.
 
For more information, please look through our docs: https://www.flexmonster.com/doc/customizing-toolbar/.
 
Kindly note that in our DLL example on GitHub, you can find Flexmonster instance in the wwwroot/js/site.js.
 
Hope it helps. Feel free to contact us in case of any questions.
 
Regards,
Solomiia

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster 4 days ago

Hello!

Hope you are having a great week.

Just checking in to ask if you had some time to try the suggested approach of customizing the Toolbar. Could you please let us know if it helps?

Looking forward to hearing from you.

Regards,
Solomiia

Please login or Register to Submit Answer