I had a gridview, it attached with a model that have some fields. But in my grid i just show one field, and what i want is when my mouse hover to the grid row,
Use your columns renderer function as follows:
{
id :'data',
header : 'Data',
width : 160,
sortable : true,
dataIndex: 'data',
renderer : function(value, metadata,record) {
return setTooltip(value, metadata,record);
}
}
function setTooltip(value, metaData, record){
var deviceDetail = record.get('data') + ": " + record.get('description');
metaData.attr='ext:qtip="' + deviceDetail + '"';
console.log("deviceDetail: " + deviceDetail);
return value;
}