var grid = this.comp('grid1'); grid.$domNode.jqGrid('getGridParam', 'colNames').length//获取列数 grid.$domNode.jqGrid('getGridParam', 'colModel');//获取所有列 grid.$domNode.jqGrid('getGridParam', 'colNames');//获取所有列的label
var grid = this.comp('grid1'); grid.$domNode.jqGrid('getGridParam', 'colNames').length//获取列数 grid.$domNode.jqGrid('getGridParam', 'colModel');//获取所有列 grid.$domNode.jqGrid('getGridParam', 'colNames');//获取所有列的label
评一波