<ej:ContentGroup Id="ButtonOpen" Text="Pictures" ToolTip="Pictures">
<ButtonSettings Type="Button" ContentType="TextAndImage" ImagePosition="ImageTop" PrefixIcon="e-icon e-ribbon e-picture" Click="executeAction" />
</ej:ContentGroup> |
//Global variables for Ribbbon component id and ButtonId
var ribbonComponentId, buttonId;
//Client side create event for Ribbon component
function createControl(args) {
ribbonComponentId = this.element[0].id;
buttonId = "ButtonOpen"
//Custom Button is a combination of Ribbon component id_Button component id
console.log(ribbonComponentId + "_" + buttonId);
} |
I am thinking of creating a custom ribbon and instead of inserting a button to run my macro, i want a button inside my custom ribbon. For example, "Generate Tables" Macro. I want to put that function in my custom ribbon tab as a button that the user can press (like pivot tables, chart, etc.) https://myip.kim/'