Search code examples
javascriptextjsgridpanel

Removing headertoolbar of GridPanel in Extjs


I have a GridPanel in Extjs and i just want to remove or hide its header toolbar. (The toolbar where the title and the searchbox is in). I just want the Gridpanels first element to be the column headers. How can I do it?


Solution

  • If you can't find a suitable config option, calling gridPanel.getTopToolbar().hide() afterwards should do the trick.