I have a GridPanel in Extjs and I just want to remove or hide the title bar. (Toolbar where the title and search engine are located). I just want the first element of the Gridpanels be the column heading. How can i do this?
GridPanel
Extjs
Gridpanels
If you cannot find a suitable configuration option, calling gridPanel.getTopToolbar().hide() should do the trick after that.
gridPanel.getTopToolbar().hide()
hideHeaders property Ext.grid.GridPanel does the trick.
var grid = new.Ext.grid.GridPanel({ store: store, hideHeaders: true, width: 200, height: 100, }
Have you tried setting the header parameter to false? Example below:
var grid = new Ext.grid.GridPanel({ store: store, cm: cm, header: false, renderTo: 'mygrid', width: 600, height: 300 });
Source: https://habr.com/ru/post/1346053/More articles:C # - mixed assembly (C ++ / CLI, DirectX native) interplay (32/64 bit) - interopMake error in SWI Prolog - prologdevexpress xtrareports versus reporting services - c #How to copy comments when creating an interface from a class in Visual Studio? - macrosSeveral jQuery selection criteria with Internet Explorer - jqueryNot enough space to show ads! when working in TabActivity - androidHow to create an IList of anonymous classes using AutoFixture - c #How to discover basic primary (or unique) key columns from an Oracle view - databaseclasses not found achartengine - androidHow to record FM sound in Android? - androidAll Articles