Oracle Apex - 交互式网格 - 重置按钮

Oracle Apex- Interactive Grid- Reset Button

在 Oracle APEX 的交互式网格工具栏中,如何让重置按钮显示为仅图标按钮。

我不认为我理解你的问题...:) 但是...

我认为没有办法编辑交互式网格的这个功能。通过javascript是可能的,但我认为这是一个不必要的工作。

$('button[data-action=reset-report] > span.a-Button-label').remove()

或CSS

button[data-action=reset-report] > span.a-Button-label {
   display: none;
}
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;
                 }