无法将工具提示添加到ExtJS5网格';s动作栏

无法将工具提示添加到ExtJS5网格';s动作栏,extjs,Extjs,我无法在ExtJS网格的操作列中使用工具提示。即使是在 不起作用。是否有其他方法将工具提示添加到“操作”列?尝试将渲染器添加到“操作”列,并以以下方式将工具提示添加到html renderer: function (value, metadata, record, rowIndex, colIndex, store){ metadata.tdAttr = 'data-qtip="' + value + '"'; return value;

我无法在ExtJS网格的操作列中使用工具提示。即使是在
不起作用。是否有其他方法将工具提示添加到“操作”列?

尝试将渲染器添加到“操作”列,并以以下方式将工具提示添加到html

 renderer: function (value, metadata, record, rowIndex, colIndex, store){
            metadata.tdAttr = 'data-qtip="' + value + '"';
            return value;
            }

希望这对您有所帮助。

您可以将其添加到操作列定义中。应该有用

            {
                xtype: 'actioncolumn',
                sortable: false,
                text: 'Action',
                items: [
                    {
                        iconCls: 'fa fa-pencil',
                        getTip: function(value, metadata, record, row, col, store){
                            var toolTipOne = 'Tool Tip One';

                            if(record.get('something')){
                                toolTipOne = 'New Tool Tip';
                            }

                            return toolTipOne;
                        }
                    }
                ]
            }
你有快速提示吗


Ext.tip.QuickTipManager.init()

@user1640256请您粘贴一段您正在做的代码好吗?