Extjs 网格中的Toolplus
我需要在EXT面板中创建一个自定义工具。请让我知道如何为我的工具渲染自定义图像 { 类型:'mytool'Extjs 网格中的Toolplus,extjs,panel,Extjs,Panel,我需要在EXT面板中创建一个自定义工具。请让我知道如何为我的工具渲染自定义图像 { 类型:'mytool' tooltip: 'This is my tool', handler: function(event, toolEl, panel){ //func body }] 这些工具具有以下类型,例如: tools:[{ type: 'plus', tooltip: 'some t
tooltip: 'This is my tool',
handler: function(event, toolEl, panel){
//func body
}]
这些工具具有以下类型,例如:
tools:[{
type: 'plus',
tooltip: 'some tool',
handler: function(event, toolEl, panel){
}
}]
是否要将图像显示为工具提示?否,我想在网格中的ToolPlus中添加图像,如加号、减号、折叠。我使用css完成了此操作:.x-tool-mytool{background:url('././images/img.png')不重复右上方!重要;)}