我在 Extjs
中有一个 GridPanel
,我只想删除或隐藏它的标题工具栏。 (标题和搜索框所在的工具栏)。我只希望 Gridpanels
的第一个元素成为列标题。我该怎么做?
最佳答案
Ext.grid.GridPanel 的 hideHeaders 属性可以解决这个问题。
var grid = new.Ext.grid.GridPanel({
store: store,
hideHeaders: true,
width: 200,
height: 100,
}
关于javascript - 在 Extjs 中删除 GridPanel 的 headertoolbar,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5500374/