JqGrid: Remove tooltip for all rows & columns
Asked Answered
G

2

20

I have a jqGrid table with many columns. I dont want to use the setCell method for every column to disable tooltip. Is there any way to disable tool tips for all the columns and rows in one shot with out looping through each column?

Ghibelline answered 5/10, 2011 at 11:19 Comment(0)
K
39

If you use title: false in the colModel no title attribute will be created for the cells of the grid on the corresponding column. So no tooltips will be shown no the hovering of cells. To set title: false as your default setting for colModel you can use cmTemplate:

cmTemplate: { title: false }

See the old answer for more information.

Keys answered 5/10, 2011 at 11:36 Comment(0)
C
4

you can use title attribute for each column to hide the title tool tip for specific column as shown below :

{ name: 'Export To Excel ', index: 'exporttoexcel', sortable: false, editable: true,title:false, search: false,formatter: AppendCheckBox ,width:30},
Colson answered 26/10, 2015 at 9:41 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.