0
如何禁用jqgrid表头悬停样式。 我试图回答这个解决方案from another stackover flow question,JQgrid:禁用表头小鼠悬停样式
$($("#gridId")[0].grid.hDiv).find(".ui-jqgrid-labels th.ui-th-column")
.unbind("mouseenter")
.unbind("mouseleave");
它禁用头悬停的风格,但显示在控制台
Uncaught TypeError: Cannot read property 'grid' of undefined(…)