I have this.mygrid there is column as my_col_id
i want to add tool tip in to the grid cell. I added tool tip for grid cell but that tool tip not update with my store(my_store
) changes. how to update my grid tool tip when store update
Note: don't work when i added colName.render in to the store update method
initComponent{
colName = this.mygrid.getColumnModel().getColumnById('my_col_id');
colName.renderer = this.addToolTip;
}
addToolTip : function(value, metadata, record, rowIndex, colIndex, store){
metadata.attr = 'ext:qtip="' + record.get('PRICE')+'<br>'+record.get('DATE') + '"';
return value;
}