In the Interactive Grid Toolbars of Oracle APEX, How can we make the reset button to show as icon only button.
2 Answers
2
votes
I found another way by adding the jsinitialization code in the attribute section of Interactive Grid as below
function(config) {
var $ = apex.jQuery,
toolbarData = $.apex.interactiveGrid.copyDefaultToolbar(),
lastToolbarGroup = toolbarData[toolbarData.length - 1],
createButton = {
type: "BUTTON",
icon: "a-Icon icon-ig-reset",
iconOnly: true,
action: "reset-report"
};
lastToolbarGroup.controls.pop();
lastToolbarGroup.controls.push(createButton);
config.toolbarData = toolbarData;
config.initialSelection = false;
return config;
}
1
votes
I do not think I understood your question ... :) but...
I do not think there is a way to edit this feature of interactive grid. It is possible through javascript, but I think it is an unnecessary work.
$('button[data-action=reset-report] > span.a-Button-label').remove()
Or CSS
button[data-action=reset-report] > span.a-Button-label {
display: none;
}