Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
50
Tooltips for Jquery grid headers
posted

Is there a way to get tooltips for the grid headers and not the data cells? 

Parents
  • 380
    Verified Answer
    Offline posted

    Hello Nick,

    I have been looking into your question and currently we don’t provide a build in tooltips for the headers of the igGrid, it supports custom tooltips through the Tooltips feature only for data cells.

    However, what I could suggest as an approach to achieve your requirements and add a tooltip for the column headers after you create the igGrid you should add "title" attribute to the "th" element of the column. Each "th" element has "id" attribute which has the following structure "<gridId>_<columnKey>" where <gridId> is the id of the grid and <columnKey> is the key of the column.

    $("# gridId_ColumnKey").attr("title", "Your custom text.");

    The described scenario could be observed here:

     

    In addition, I have prepared small sample illustrating this behavior which could be found here. Please test it on your side and let me know how it behaves.

    If you require any further assistance on the matter, please let me know.

    Regards,

    Georgi Anastasov

    Entry Level Software Developer

    Infragistics

Reply Children
No Data