简体   繁体   English

Ext.ux.grid.RowEditor添加了用于保存和取消按钮的工具提示

[英]Ext.ux.grid.RowEditor adding tooltip for save and cancel button

I need to add tooltip message for Ext.ux.grid.RowEditor save and cancel button like for save("save the xxxx records"),cancel ("cancel the record saving"). 我需要为Ext.ux.grid.RowEditor添加工具提示消息,然后单击保存和取消按钮以保存(“保存xxxx记录”),取消(“取消记录保存”)。

I am unable to add tooltip property to button configuration area. 我无法将工具提示属性添加到按钮配置区域。 like below code 像下面的代码

 var editor = new Ext.ux.grid.RowEditor({
    saveText: 'Submit',
    monitorValid: true,
    tooltip :'save the xxxx records'// like this

});

how to add the tool tip for the specified button ? 如何为指定按钮添加工具提示?

Thanks in advance. 提前致谢。

Please initialize tool tips for it to work: 请初始化工具提示以使其正常工作:

Ext.QuickTips.init(); Ext.QuickTips.init();

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM