You can use represent
db.table.field.represent = lambda value, row: SPAN(value[:10],DIV(value,_class='tooltip'))
and than JS
jQuery(function(){
jQuery('.tootip').each(function(){
var t = jQuery(this);
t.hide().css('position','relative').css('z-index','200');
t.parent.mouseover(function() {t.fadeIn();});
t.parent.mouseout(function() {t.fadeOut();});
});
});
Mind I did not try it.