我试图在 tree.Panel 上实现可锁定功能,所以我从 grid.Panel 借来
Ext.tree.Panel(Ext.grid.Panel, ['bothCfgCopy','normalCfgCopy','lockedCfgCopy']);
但现在我的网格列是对象,即树上的 column.$className。Panel 将返回一个对象,因为它们已被转换。我现在如何隐藏列,因为所有功能(例如 hide()、setVisible() 都已丢失)?
提前致谢
It might not still be relevant, but here's an example of a buffering locking grid.
You can set buffering to false and use as is, or you can use it as a guideline for you current implementation.