ExtJs 提示信息
[javascript]var renderer = function (data, metadata, record, rowIndex, columnIndex, store){
metadata.attr ='ext:qtip=' + data;
return data;
}
Ext.onReady(function () {
Ext.QuickTips.init();
[javascript] view plaincopyprint?
var btn = new Ext.Button({
text : '悬停演示',
renderTo : Ext.getBody(),
tooltip : '这是一个悬停演示的按钮,怎么样?<br>是不是很漂亮呢?',
tooltipType : 'qtip'
[javascript]
});
[javascript]
ext:qtitle="ok" ext:qwidth="100" ext:qtip="this is a "
补充:web前端 , JavaScript ,