Attachment : interactive-grids-button-customization

This document will help you to change the IG Buttons name and logo

 

code-

function(config) {

let $             = apex.jQuery,

toolbarData   = $.apex.interactiveGrid.copyDefaultToolbar(),

addrowAction  = toolbarData.toolbarFind(“selection-add-row”),

saveAction    = toolbarData.toolbarFind(“save”),

editAction    = toolbarData.toolbarFind(“edit”);

 

addrowAction.icon = “icon-ig-add-row”;

addrowAction.iconBeforeLabel = true;

addrowAction.hot = true;

saveAction.label = “Save Data”;

saveAction.iconBeforeLabel = true;

saveAction.icon =”icon-ig-save-as”;

saveAction.hot = true;

editAction.label = “Edit Record”;

config.toolbarData = toolbarData;

return config;

}

Recommended Posts

Start typing and press Enter to search