Hi Abu,
I continue to be impressed with your grid. However, I have a question about column header tooltips which are extremely useful. How do I format these? For a long tooltip, at the least I wanted to insert a few blank lines. I tried HTML tags like <br> and also characters like “\n” but these had no effect.
Many thanks, Gary
2 Answers
The tooltips are handled in the ui.jqgrid.css file.
I added the following to allow for carriage returns in the tooltips (I use \r\n and it works fine):
.tippy-tooltip.light-theme{
font-family:roboto,tahoma,arial;
border:1px solid #cdcdcd;
font-size:12px;
white-space: pre-line
}
Your Answer