Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 966
Chris Avatar asked Dec 04 '22 22:12

Chris


1 Answers

hideHeaders property of Ext.grid.GridPanel does the trick.

var grid = new.Ext.grid.GridPanel({
    store: store,
    hideHeaders: true,
    width: 200,
    height: 100,
}
like image 104
slhsen Avatar answered Dec 22 '22 00:12

slhsen