开发者_开发百科
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
How do we check if a column has hideable option or not in column menu header in grid panel?
The menu is built from the column config, thus:
var col_model = grid.getColumnModel();
for (var i = 0, len = col_model.config.length; i < len; i++) {
var column = col_model.config[i];
// Access column properties here, such as hidden
}
精彩评论