0

I want to display custom message on hover the icon or Column header either helptext/tooltip

I am working on lwc datatable. I want to show onmousehover to the column header title, custom helptext or tooltip.

1
  • 1
    Welcome to SFSE! Please make sure to include the relevant portions of your code, along with the specific issue you are struggling with and the complete text and location of any errors, in the body of your question. See How to Ask for more about our expectations, and please edit your question to add information rather than posting comments. – David Reed May 25 '20 at 7:27
0

Can you try checking the lightning-helptext I think this tag would help in your context.

<lightning-helptext icon-name="utility:salesforce1" content="Full text explanation of feature"></lightning-helptext>

You can use the tag as above and for documentation please find it in the below link:

https://developer.salesforce.com/docs/component-library/bundle/lightning-helptext/example

2
  • 1
    @ Anutej :It is not possible to add this tag in the column header section of datatable.. – Rajesh May 25 '20 at 7:50
  • I tried the same and I was able to get the tooltip but unfortunately I was not able to find any such implementation regarding the helptext. – Anutej May 27 '20 at 11:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.