How to remove actions from detail grid


I have a form with detail grid. This grid contains “Add” button in the header. I need to remove this button, how can I do this?


To hide some of predefined actions pass action names to hideActions config property.

xtype: "ubdetailgrid",
hideActions: ["addNew"]

This will remove a “add new” button from toolbar, all actions menu and popup


You also might find it useful to look at the following FAQ resource:, it has entire section dedicated to questions about grid customization.