sematable icon indicating copy to clipboard operation
sematable copied to clipboard

header tooltip styling (2 related issues)

Open pgoldweic opened this issue 7 years ago • 0 comments

Hi, now that I've seen the header tooltips working, I realize that the styling is different than that I use throughout my app for tooltips (Bootstrap 3). Is there any way that I could choose to use the same styling for the header tooltips?

In addition, how do I give a tooltip to a header that I am rendering myself? Note that I am not using the Table element provided by sematable; I am rendering the table myself (advanced usage, according to the documentation). While most of my headers are Sematable headers, I have a couple which are not, so I simply render them using

    <th><some label></th>. 

UPDATE: I've already figured out the answer to the second paragraph above. I've managed to do it using the following:

<th data-toggle="tooltip" style={{ cursor: 'pointer', }}><some label></th>

pgoldweic avatar Mar 06 '17 16:03 pgoldweic