我知道这hideHeaders: true
隐藏了属性网格的标题(名称、值)。
现在,如果我想让标题从外部可见,我该如何实现?
例子:
var grid = Ext.create('Ext.grid.property.Grid',
{
id: 'grid',
hideHeaders: true
});
// I get/create a source here
grid.setSource(data);
// now, since my grid is full, I want to show the headers
// tried this but did not work :/
grid.add({hideHeaders: false});
谢谢