open conditional formatting panel

Answered
yuyuyu asked on May 24, 2017

Hi, i want to use the api to open condional formatting panel like the attach file below, but i don't know where to find this api? could you show me how.
thanks a lot
Leon

1 answer

Public
Iryna Kulchytska Iryna Kulchytska Flexmonster May 24, 2017

Hi Leon,
 
Thank you for your question.
 
The conditional formatting panel is a part of the toolbar (flexmonster.toolbar.js file). The code of the toolbar is open, not minified and you are welcome to customize it and use it the way you need.
 
The toolbar is easily customizable. Tabs and buttons can be removed from it and new ones can be added easily. Here is the documentation on customizing toolbar.
 
Also, I have prepared a sample for you to illustrate how the new tab 'Conditions' can be added to the toolbar and the existing conditionalFormattingHandler function of the toolbar can be used to open the conditional formatting panel - http://jsfiddle.net/flexmonster/zsdbya57/.
 
Please let me know if it works for you.
 
Kind regards,
Iryna

Please login or Register to Submit Answer