This is how I have it working with a Cell
in a normal Column
:
{
xtype: 'gridcolumn',
renderer: function(value, metaData, record, rowIndex, colIndex, store, view) {
metaData.tdAttr = 'data-qtip="BlobKey:' + record.get('key') + '"';
return value;
},
itemId: 'filename',
dataIndex: 'filename',
text: 'Filename',
flex: 1
}
This works perfectly, but there is no renderer
attribute on DateColumn
and none of the suggested examples I have found on the internet work.
This is what my DateColumn
definition looks like:
{
xtype: 'datecolumn',
itemId: 'created-on-column',
dataIndex: 'createdOn',
text: 'Created',
format: 'c'
}
I can't figure out how to add a ToolTip
to a cell in a DateColumn
. There is no attribute in the Config
panel of Sencha Architect 3.0 for renderer
and all my attempts at trying to use the afterRender
event or other suggestions from a couple of years ago all fail.