Tooltip for List and Library

Hi, is there ay way to add tooltip to a cell in List and Library? e.g to show extra fields from Lookup field or to replace text with icon and tooltip?

WF

Hello @wflorczyk,

Are you using a List or Library control in inline or dialog editing mode?

If in inline, do you want to display a tooltip when a user editing a line?

I'm using List and Library in inline mode and would like to display tooltip when user point cursor over some field to show some data.

@wflorczyk,

You can add a tooltip to a field in a List or Library control using this code:

fd.control('SPDataTable1').$on('edit', function(editData) {
    $(editData.field('Field1').$parent.$el).find(':input').attr('title', 'This is the hover-over text')
});