Этот код не работает < /p>
Код: Выделить всё
function(config) {
var $ = apex.jQuery,
toolbarData = $.apex.interactiveGrid.copyDefaultToolbar(), // Make a copy of the default toolbar
toolbarGroup = toolbarData.toolbarRemove("actions2"); // Remove the actions2 menu group
toolbarGroup.controls.push({
type: "BUTTON",
label: "test",
action: "save",
icon: "icon-ig-save",
iconBeforeLabel: true,
hot: true
});
// Assign new toolbar data back to toolbarData configuration property
config.toolbarData = toolbarData;
// Return the options
return config;
Подробнее здесь: https://stackoverflow.com/questions/796 ... new-button
Мобильная версия