The column heading has class ".slick-column-name"
I added this jquery -
var text = $(".slick-column-name").text();
$(".slick-column-name").tooltip({ title: text });
But it is showing every column name in each tooltip, ( for example ID , Description, Title are column headings, so the tooltip for each column heading is being shown as "ID Description Title"
Note that I'm the author of Angular-Slickgrid and as mentioned in a comment in previous answer, Angular-Slickgrid is a wrapper on top of SlickGrid which was created few years ago (when jQuery/jQueryUI were all the hype) and so ~jQuery is a deep dependency~ (jQuery is no longer required since 2023).
Now to focus on your question, if we search directly in the code for the css class that you have identified, we can see this line that has the following code
oh look at that... there's already a
toolTipattribute, so where does this come from? It's a option in the column definition (column - interface in Angular-Slickgrid)So the short answer is... just use it by making your
toolTipthe same as yournameand you should be good to goThat should do it... note that I didn't test it but I just inspected the code to find the answer. It's always good to look directly at the code, you find a lot of answers to these questions.
EDIT
I tried it and it does work as intended with the
toolTipproperty