EXTJS 4.2 资料 控件之Grid 列鼠标悬停提示

  columns: [
{ header: '序号', xtype: 'rownumberer', align: 'left', width: },
{ header: '货位编号', dataIndex: 'StorePosCode', width: },
{
header: '货位名称', dataIndex: 'StorePosName', width: , renderer: function (v, ctx, record) {
ctx.tdAttr = " data-qtip = '这里是TIP内容!'";
return v;
}
},
{ header: '备注', dataIndex: 'Note', width: },
{
header: '操作', align: 'left', width: , renderer:
function (v, nv, v1) {
var Update = "<img src='/Resources/Images/16x16/blue16_020.gif'></img>" + '<a href="#" onClick="FunctionActionUpdate()">修改</a>';
var Delete = "<img src='/Resources/Images/16x16/blue16_013.gif'></img>" + '<a href="#" onClick="FunctionActionDelete()">删除</a>';
return Update + ' ' + Delete;
}
}
],
上一篇:在 Sublime Text 直接运行 Javascript 调试控制台


下一篇:static关键字,引发的spring普通类获取spring的bean的思考