开发者

How to check if a column has hideable option or not? [closed]

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
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜