Pman.Download.js
authorAlan Knowles <alan@roojs.com>
Tue, 27 Apr 2021 07:10:53 +0000 (15:10 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 27 Apr 2021 07:10:53 +0000 (15:10 +0800)
Pman.Download.js

index 9d730ad..1c98512 100644 (file)
@@ -331,6 +331,11 @@ Roo.apply(Pman.Download.prototype, {
         } else {
             
             Roo.each(this.grid.cm.config, function(c,i) {
+                
+                if (t.hiddenCols == 'hide' && t.grid.cm.isHidden(i)) {
+                    return;
+                }
+                
                 t.params['csvCols['+i+']'] = c.dataIndex;
                 t.params['csvTitles['+i+']'] = c.header;