标签:ar for sp bs ad new as js nbsp
var cm = grid.getColumnModel(); var colCount = cm.getColumnCount(); var temp_obj = new Array(); for (var i = 0; i < colCount; i++) { if (cm.isHidden(i) == true) { } else { // 取表头和索引 var header = cm.getColumnHeader(i); var dataIndex = cm.getDataIndex(i); } }
标签:ar for sp bs ad new as js nbsp
原文地址:http://my.oschina.net/moks/blog/338228