extjs导execl,出错,报传递给系统调用的数据区域太小,求救 本帖最后由 a586586586 于 2010-03-16 08:56:16 编辑 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 gridToExcel.js在这http://writeblog.csdn.net/PostList.aspxgrid的json为{totalProperty:31,successProperty:'success',root:[{usercode:'t1',username:'t1',count:'0'},{usercode:'t5',username:'t5',count:'0'},{usercode:'lcy',username:'李益',count:'0'},{usercode:'e33',username:'开发人员33',count:'0'},{usercode:'aa',username:'用户a',count:'0'},{usercode:'cs',username:'cs',count:'0'},{usercode:'t3',username:'t3',count:'0'},{usercode:'e1',username:'开发人员1',count:'2'},{usercode:'t4',username:'t4',count:'0'},{usercode:'kf31',username:'没有对应值,可能数据已丢失!',count:'0'},{usercode:'kf32',username:'没有对应值,可能数据已丢失!',count:'0'},{usercode:'zzx',username:'zzx',count:'0'},{usercode:'kf13',username:'kf13',count:'0'},{usercode:'kf23',username:'开发kf23',count:'0'},{usercode:'temp',username:'temp',count:'0'},{usercode:'t6',username:'t6',count:'0'},{usercode:'lhj',username:'lhj',count:'0'},{usercode:'e2',username:'e2',count:'1'},{usercode:'ycs',username:'ycs',count:'0'},{usercode:'kf12',username:'kf12',count:'0'},{usercode:'kf33',username:'没有对应值,可能数据已丢失!',count:'0'},{usercode:'xyyy',username:'xyy',count:'0'},{usercode:'kf11',username:'kf11',count:'0'},{usercode:'kf22',username:'开发kf22',count:'0'},{usercode:'kf21',username:'开发kf21',count:'0'},{usercode:'t1',username:'t1',count:'0'},{usercode:'t2',username:'t2',count:'0'},{usercode:'t4',username:'t4',count:'0'},{usercode:'hzj',username:'hzj',count:'0'},{usercode:'ywt',username:'叶涛',count:'0'},{usercode:'e3',username:'开发人员3',count:'6'}]}以上是我的代码,报 document.location = 'data:application/vnd.ms-excel;base64,'+Base64.encode(vExportContent);这行: 传递给系统调用的数据区域太小。请各位帮忙看下,感激不尽 IE6和IE7是不支持Data协议的,你先在火狐下试试,看是否能导出 火狐下导出的名字,name.xls.part,多了个part,去删掉.part,可以正常打开 如何解决的?是不是改变了encode的编码?楼主能否说一下 if (Ext.isIE6 || Ext.isIE7 || Ext.isIE8 || Ext.isSafari || Ext.isSafari2 || Ext.isSafari3)在if 判断里加上对IE8 的判断。 火狐下导出的名字,name.xls.part,多了个part,去删掉.part,可以正常打开但保存的时候命名就可以不加part??? 问怎么解决的哥哥妹妹们,我已经说的很清楚了啊,我用的是ie8,所以就是像11楼说的那样啊,因为少写了个ie8啊,呵呵! 那个判断本来就是要判断出IE8,IE8不能直接下载 求一个数上的各位数的乘积 请问:页面弹出层中如何展示通过js生成的树_____分不多,请见谅 看不懂代码 范围选择,这样的滑动条用JavaScript有可能实现吗? javascript如何发送邮件? 公司的人都不会,又来麻烦各位高手拉,200分,另开贴补足 如何用javascript控制打开word文档的不可编辑和可编辑性?? 点击表中的一条记录,将该行记录传递到另一页的相应TEXT中,同时关闭该数据表页。救命!( 请问如何校验单选框和复选框 延迟加载如何用Image()对象的方法做呢 JS读取Excel时假死的问题 js访问修改css属性不能兼容chrome
在这http://writeblog.csdn.net/PostList.aspx
grid的json为{totalProperty:31,successProperty:'success',root:[{usercode:'t1',username:'t1',count:'0'},{usercode:'t5',username:'t5',count:'0'},{usercode:'lcy',username:'李益',count:'0'},{usercode:'e33',username:'开发人员33',count:'0'},{usercode:'aa',username:'用户a',count:'0'},{usercode:'cs',username:'cs',count:'0'},{usercode:'t3',username:'t3',count:'0'},{usercode:'e1',username:'开发人员1',count:'2'},{usercode:'t4',username:'t4',count:'0'},{usercode:'kf31',username:'没有对应值,可能数据已丢失!',count:'0'},{usercode:'kf32',username:'没有对应值,可能数据已丢失!',count:'0'},{usercode:'zzx',username:'zzx',count:'0'},{usercode:'kf13',username:'kf13',count:'0'},{usercode:'kf23',username:'开发kf23',count:'0'},{usercode:'temp',username:'temp',count:'0'},{usercode:'t6',username:'t6',count:'0'},{usercode:'lhj',username:'lhj',count:'0'},{usercode:'e2',username:'e2',count:'1'},{usercode:'ycs',username:'ycs',count:'0'},{usercode:'kf12',username:'kf12',count:'0'},{usercode:'kf33',username:'没有对应值,可能数据已丢失!',count:'0'},{usercode:'xyyy',username:'xyy',count:'0'},{usercode:'kf11',username:'kf11',count:'0'},{usercode:'kf22',username:'开发kf22',count:'0'},{usercode:'kf21',username:'开发kf21',count:'0'},{usercode:'t1',username:'t1',count:'0'},{usercode:'t2',username:'t2',count:'0'},{usercode:'t4',username:'t4',count:'0'},{usercode:'hzj',username:'hzj',count:'0'},{usercode:'ywt',username:'叶涛',count:'0'},{usercode:'e3',username:'开发人员3',count:'6'}]}以上是我的代码,报
document.location = 'data:application/vnd.ms-excel;base64,'+Base64.encode(vExportContent);
这行: 传递给系统调用的数据区域太小。
请各位帮忙看下,感激不尽
在if 判断里加上对IE8 的判断。