glittershark / reactable

Fast, flexible, and simple data tables in React
glittershark.github.io/reactable
MIT License
1.51k stars 222 forks source link

can't Show tooltip #386

Open mahsad71 opened 7 years ago

mahsad71 commented 7 years ago

I can't show tooltip in the Tr as below:

<Table className="table" id="table">
        <Thead>
          <Th column="title">
           title
          </Th>
        </Thead>
        <Tr>
            <Td column="title">
            <p>some long  <span  className="text-border text-border-blue tooltips"
                  data-toggle="tooltip" data-original-title="long long long">text</span> 
             </p>
          </Td>
        </Tr>
</Table>

please help me for fixing this problem.

mahsad71 commented 7 years ago

solved by adding this: componentDidUpdate() { //reset tooltip data-toggle $('[data-toggle="tooltip"]').tooltip(); }

but another problem is that the columns that uses tooltip can't sort.