Home > Web Front-end > JS Tutorial > A small example of removing the full selection box from the gridPanel header_javascript skills

A small example of removing the full selection box from the gridPanel header_javascript skills

WBOY
Release: 2016-05-16 17:28:25
Original
1133 people have browsed it

Just add a listener to the gridpanel

Copy the code The code is as follows:

,listeners:{
render:function(){
var hd_checker = this.getEl().select('div.x-grid3-hd-checker');
if (hd_checker.hasClass('x-grid3-hd -checker')) {
hd_checker.removeClass('x-grid3-hd-checker');
}
}
}
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template