this.params = {};
Roo.apply(this, cfg);
-
+
if (this.grid) {
this.buildFromGrid();
}
- if (cfg.newWindow) {
+ if (cfg.newWindow && this.method == 'GET') {
// as ie seems buggy...
window.open( cfg.url + '?' + Roo.urlEncode(cfg.params || {}), '_blank');
return ;
limit : 9999,
+ newWindow : false,
+
+ method : 'GET',
+
// private..
createCsvFrame: function()
{
-
if (this.csvFrame) {
document.body.removeChild(this.csvFrame);
}
}
this.params.limit = this.limit;
+ // do it as a post, as args can get long..
+ this.params._get = 1;
+ this.method = 'POST';
}