I have an html view with thymeleaf. This html have a big table with various tooltips with style who works correctly, but now I wont to add a mi-width to the tooltips in an specific column. Those that have an id who starts with commentTooltip.
Each generated with thymeleaf has an id that starts with commentTootip.
I have tried numerous possible solutions without success. Now I think I am near to find a solution but I am unable to. Because the problem is how to acces to .tooltip-inner witch is generated dinamically by bootstrap after de DOM is ready.
My solution right now is:
<td id="commentTooltip6H78SHF data-html="true" data-toggle="tooltip" data-original-title='Tooltip Text One'>
<td id="commentTooltip8RQ671S data-html="true" data-toggle="tooltip" data-original-title='Tooltip Text two'>
$('td')
.filter(function() {
return this.id.match(/commentTooltip*/);
}).next($('.tooltip > .tooltip-inner')).attr('min-width','400px');
With this fragment I can select all the that I want to change, but my problem is navigate to the generated tooltip properties.
$('td')
.filter(function() {
return this.id.match(/commentTooltip*/);
})
Thanks for your help