Home > Web Front-end > JS Tutorial > GridPanel hidden columns in Extjs will be displayed in menuDisabled solution_extjs

GridPanel hidden columns in Extjs will be displayed in menuDisabled solution_extjs

WBOY
Release: 2016-05-16 17:42:35
Original
1056 people have browsed it

In GridPanel in Extjs, there will be a situation like this. Hidden columns will be displayed in menuDisabled, as shown below:


But this is generally of little use, it is only used for background value acquisition.

so

Add an attribute: hideable:false and it will be done

Copy the code The code is as follows:

{
header: "attendanceId",
dataIndex: "attendanceId",
hideable: false,
hidden: true
},
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