How can i call toolbar button function explicitly ?
poojacha77 opened this issue · 3 comments
poojacha77 commented
@myliang i want to create a menu bar along with toolbar. How can i call toolbar action explicitly from a menu bar icon ?.
Please suggest.
Thanks
xiujunma commented
Hi @poojacha77
You can try this:
[x_spreadsheet].sheet.toolbar.boldEl.click()
monika-sha commented
@myliang Above script is working fine.But how can call toolbar dropdown functions particularily.For e.g Font,Format,Functions.
poojacha77 commented
@xiujunma
Please also suggest for explicit call of following toolbar functionalities
- format
- font
- fontsize
- text color
- fill color
- border
- horizontal align
- vertical align
-
functions
Thanks