dspolyglot Posted December 21, 2017 Report Share Posted December 21, 2017 Hi everyone, I am encountering an issue wherein a "Data Table" tooltip appears everytime I hover on a report data cell. I want to remove that one. Please help. -dspolyglot Quote Link to comment Share on other sites More sharing options...
Franchiser Posted December 21, 2017 Report Share Posted December 21, 2017 On 12/20/2017 at 6:12 PM, dspolyglot said: Hi everyone, I am encountering an issue wherein a "Data Table" tooltip appears everytime I hover on a report data cell. I want to remove that one. Please help. -dspolyglot 2 Hi Dspolyglot, You can remove tooltip hover using a JQUERY. CSS and Styles of the DataPage doesn't have the option to turn it off. Try to use the code in the header of your Result Page. <script src="https://code.jquery.com/jquery-3.2.1.min.js"></script><script>$(document).ready(function(){$("table[data-cb-name='cbTable']").removeAttr("title");});</script> I hope this helps. regards, Franchsier Quote Link to comment Share on other sites More sharing options...
MayMusic Posted December 22, 2017 Report Share Posted December 22, 2017 I have not tried the code but syntax needs a little modification: <script src="https://code.jquery.com/jquery-3.2.1.min.js"></script> <script> $(document).ready(function(){ $("table[data-cb-name='cbTable']").removeAttr("title"); }); </script> HeyItsDoug and vikovs 1 1 Quote Link to comment Share on other sites More sharing options...
vikovs Posted December 28, 2017 Report Share Posted December 28, 2017 On 12/22/2017 at 5:51 PM, MayMusic said: I have not tried the code but syntax needs a little modification: <script src="https://code.jquery.com/jquery-3.2.1.min.js"></script> <script> $(document).ready(function(){ $("table[data-cb-name='cbTable']").removeAttr("title"); }); </script> It works! Thank you for your help! Quote Link to comment Share on other sites More sharing options...
MayMusic Posted January 5, 2018 Report Share Posted January 5, 2018 You are very welcome Quote Link to comment Share on other sites More sharing options...
kdezign7 Posted January 13, 2018 Report Share Posted January 13, 2018 Hi, I added this script to my tabular report datapage and it works in Chrome but not in Safari browser. Any suggestions? Quote Link to comment Share on other sites More sharing options...
MayMusic Posted January 15, 2018 Report Share Posted January 15, 2018 Can you give me the link to your page to take a look at the source code? Quote Link to comment Share on other sites More sharing options...
kdezign7 Posted January 15, 2018 Report Share Posted January 15, 2018 Thank you for the response. Here is the link: https://c0abn413.caspio.com/dp/4559500018b74f26c8634bb381ae Quote Link to comment Share on other sites More sharing options...
MayMusic Posted January 25, 2018 Report Share Posted January 25, 2018 I am not seeing the issue can you send me a screenshot? Quote Link to comment Share on other sites More sharing options...
JEllington Posted April 12, 2018 Report Share Posted April 12, 2018 just to put this out there.. if you are not concerned with the "Data Table" tooltip displaying on older (non ES6 compatible) browsers. You can skip the overhead of using jquery and use querySelectorAll with the script located at the end of the footer in your Tabular Report DataPages, such as... <!-- remove "Data Table" tooltip from Tabular report --> <script> document.querySelectorAll("table[data-cb-name='cbTable']")[0].removeAttribute("title"); </script> Keep in mind the reason for using the jquery in previous solutions is for backwards compatibility with older browsers that do not support querySelectorAll. Quote Link to comment Share on other sites More sharing options...
DefinitelyNot31337 Posted October 22, 2018 Report Share Posted October 22, 2018 Hi, just want to add my version of JavaScript. To remove all tooltips that say "DataTable", try pasting the code block on either: the footer of your last DataPage (disable HTML Editor in the advanced tab) ; or just before the closing </body> tag of your webpage. <script> document.querySelectorAll('[title*="Data Table"]').forEach(function(elem){ elem.title=""; }) </script> Hope this helps -DN31337 Quote Link to comment Share on other sites More sharing options...
Glitch Posted October 24, 2019 Report Share Posted October 24, 2019 Hello there, This can actually be modified on the localizations now. Easy-Peasy. Quote Link to comment Share on other sites More sharing options...
wimtracking2 Posted June 28, 2023 Report Share Posted June 28, 2023 On 12/22/2017 at 10:51 AM, MayMusic said: I have not tried the code but syntax needs a little modification: <script src="https://code.jquery.com/jquery-3.2.1.min.js"></script> <script> $(document).ready(function(){ $("table[data-cb-name='cbTable']").removeAttr("title"); }); </script> @MayMusic How can this be altered to remove the tool tip code from the inline edit text/button within the table? See screenshots, I have added a font awesome icon to the Record Action and the code shows up in the tool tip. Ideally, I'd like to just remove the tool tip from this inline edit text/button. Thanks Quote Link to comment Share on other sites More sharing options...
Tubby Posted June 28, 2023 Report Share Posted June 28, 2023 My bad, ignore my previous comment. I thought you just wanted the icon removed. Quote Link to comment Share on other sites More sharing options...
Kurumi Posted June 30, 2023 Report Share Posted June 30, 2023 <script> document.querySelectorAll('[title*="Data Table"]').forEach(function(elem){ elem.title=""; }) </script> Hi @wimtracking2 - Have you tried this solution? You may need to change the Data Table code based on the custom text you have, similar to this: Quote Link to comment Share on other sites More sharing options...
Volomeister Posted July 6, 2023 Report Share Posted July 6, 2023 Hi @wimtracking2 You can try the following code: <script> if (typeof main== 'undefined') { const removeTitle = (HTMLActionsContainer) => { HTMLActionsContainer.querySelectorAll('.cbResultSetActionsLinks, img').forEach(actionBtn=>{actionBtn.removeAttribute('title')}) } const addObserver = () => { new MutationObserver((mutations)=>{ let lastMutationAddedNode = mutations[mutations.length-1].addedNodes[0] if (lastMutationAddedNode !== null) { if (lastMutationAddedNode.getAttribute('class') != null) { if (lastMutationAddedNode.getAttribute('class') == 'cbResultSetActionsLinks') { removeTitle(lastMutationAddedNode.parentElement) } }} }).observe(document.querySelector('.cbResultSetTable'), {childList: true, subtree: true}) } const main = () => { document.querySelectorAll('.cbResultSetActionCell').forEach(actionCell => { removeTitle(actionCell) }) document.removeEventListener('DataPageReady', main) } document.addEventListener('DataPageReady', main) } </script> wimtracking2 1 Quote Link to comment Share on other sites More sharing options...
wimtracking2 Posted July 11, 2023 Report Share Posted July 11, 2023 On 7/6/2023 at 2:53 AM, Volomeister said: Hi @wimtracking2 You can try the following code: <script> if (typeof main== 'undefined') { const removeTitle = (HTMLActionsContainer) => { HTMLActionsContainer.querySelectorAll('.cbResultSetActionsLinks, img').forEach(actionBtn=>{actionBtn.removeAttribute('title')}) } const addObserver = () => { new MutationObserver((mutations)=>{ let lastMutationAddedNode = mutations[mutations.length-1].addedNodes[0] if (lastMutationAddedNode !== null) { if (lastMutationAddedNode.getAttribute('class') != null) { if (lastMutationAddedNode.getAttribute('class') == 'cbResultSetActionsLinks') { removeTitle(lastMutationAddedNode.parentElement) } }} }).observe(document.querySelector('.cbResultSetTable'), {childList: true, subtree: true}) } const main = () => { document.querySelectorAll('.cbResultSetActionCell').forEach(actionCell => { removeTitle(actionCell) }) document.removeEventListener('DataPageReady', main) } document.addEventListener('DataPageReady', main) } </script> This worked, thank you @Volomeister. Volomeister 1 Quote Link to comment Share on other sites More sharing options...
MVPofInnovation Posted September 30, 2023 Report Share Posted September 30, 2023 I'm not sure when this became available, but you can remove the 'Data Table' tooltip in localizations. Results Pages > Labels & Markers > Data Table Tip (Make the 'Custom Text' field blank) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.