apex
apex copied to clipboard
[Question] Action menu in interactive grid
Hi,
thanks for the great example!
I have question, is it not clear to me how display the add the "delete rows" inside the action menu and how to display the edit button in the toolbar of the interactive grid.
Could you maybe explain?
You can manipulate these with some javascript in the IG attributes, advanced section, javascript initialization code:
function(config) {
var $ = apex.jQuery;
var toolbarData = $.apex.interactiveGrid.copyDefaultToolbar();
config.initActions = function( actions ) {
actions.remove("row-refresh");
actions.remove("row-add-row");
};
config.toolbarData = toolbarData;
return config;
}
Ok, I found it, thanks!