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
70
Disabling tooltips on all columns except one or two
posted

You describe well how to disable tooltips on just a few columns. However, without having to disable every column you don't want a tooltip on, is there a way to disable tooltips by default, and only those columns specifically set to AllowToolTips(true) will display them?

- John

  • 0
    Offline posted
    [deleted]
  • 1320
    Offline posted
    Hello John,
    After investigating this further, I determined that by enabling the feature “Tooltips”, a tooltip for each column is set by default. If no properties are specified in the feature, all columns would have a tooltip. A tooltip for some column could be hidden by specifying the property “allowTooltips” to false in the “columnSettings”. This could be achieved as follows:
    features: [
                        {
                            name: "Tooltips",
                            columnSettings: [

                                { columnKey: "ProductID", allowTooltips: false },

                                { columnKey: "Name", allowTooltips: true },

                                { columnKey: "ProductNumber", allowTooltips: false }

                            ],

                            visibility: "always",
                            showDelay: 1000,
                            hideDelay: 500
                        }
                    ]
    Below I am attaching a sample, demonstrating the described behavior. Please test it on your side and let me know if you need any further information regarding this matter.
    Regards,
    Monika Kirkova,
    Infragistics