{"id":229349,"date":"2020-12-10T21:02:31","date_gmt":"2020-12-10T13:02:31","guid":{"rendered":"http:\/\/4563.org\/?p=229349"},"modified":"2020-12-10T21:02:31","modified_gmt":"2020-12-10T13:02:31","slug":"javascript-%e8%a1%a8%e7%a4%ba-excel-%e8%bf%99%e7%a7%8d%e8%a1%8c%e5%88%97%e5%bc%8f%e7%9a%84%e6%95%b0%e6%8d%ae%e7%bb%93%e6%9e%84%e7%94%a8%e5%93%aa%e7%a7%8d%e5%af%b9%e8%b1%a1%e5%90%88%e9%80%82%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=229349","title":{"rendered":"javascript \u8868\u793a Excel \u8fd9\u79cd\u884c\u5217\u5f0f\u7684\u6570\u636e\u7ed3\u6784\u7528\u54ea\u79cd\u5bf9\u8c61\u5408\u9002\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  javascript \u8868\u793a Excel \u8fd9\u79cd\u884c\u5217\u5f0f\u7684\u6570\u636e\u7ed3\u6784\u7528\u54ea\u79cd\u5bf9\u8c61\u5408\u9002\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hahaFck <\/span>  <span><i><\/i> 7<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>1.\u4f20\u7edf\u7684 javascript<\/p>\n<p>2.\u6bcf\u4e00\u4e2a\u5355\u5143\u683c\u5b58\u5728\u4e00\u4e2a object \u6570\u636e\u3002<\/p>\n<p>3.\u6839\u636e\u884c\u7d22\u5f15\u548c\u5217\u7d22\u5f15\uff0c\u53ef\u4ee5\u5feb\u901f\u7684\u5b9e\u73b0\u67d0\u4e2a\u5355\u5143\u683c\u7684\u8bbf\u95ee\u3002<\/p>\n<p>4.\u4e5f\u53ef\u4ee5\u5feb\u901f\u7684\u83b7\u5f97\u67d0\u4e00\u884c\u7684\u6240\u6709\u5355\u5143\u683c\u6570\u636e\u3002<\/p>\n<p>\u9700\u6c42\u662f\u7c7b\u4f3c\u4e8e\u4e00\u4e2a\u4e8c\u7ef4\u8868\u683c\uff0c\u4f46\u662f\u5e76\u4e0d\u662f\u6240\u6709\u7684\u884c\uff0c\u53ca\u5217\u90fd\u662f\u6709\u6570\u636e\u7684\uff0c\u6bd4\u5982\u7b2c\u4e00\u884c\u53ea\u6709\u7b2c\u4e00\u5217\u6709\u6570\u636e\uff0c\u7b2c\u4e8c\u884c\u6ca1\u6709\u6570\u636e\uff0c\u6ca1\u6709\u6570\u636e\u7684\u884c\u53ca\u5217\u4e0d\u9700\u8981\u5b58\u50a8\u3002<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>16<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4701018\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : chogath <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             map                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4701019\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : hahaFck <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @chogath js \u4e2d\u7684 map \u662f\u540e\u6765\u52a0\u7684\uff0c\u7528\u4e0d\u4e86\uff0c\u4f46\u662f\u53ef\u4ee5\u7528{}\u81ea\u5df1\u5b9e\u73b0\uff0c\u5c31\u662f\u4e0d\u77e5\u9053{}\u4e2d\u7684 key \u8bbf\u95ee\u65f6\uff0c\u662f\u6392\u5e8f\u7684\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4701020\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : waiaan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5bf9\u8c61\u6570\u7ec4                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4701021\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lishen226 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             [{}] \u6216 [[{}]]                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4701022\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : LiubaiQ <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @hahaFck ES6 \u8bed\u6cd5\u4e3a\u5565\u4e0d\u80fd\u7528\u5462\uff0c\u53ef\u4ee5\u7528 bable \u8f6c\u6210 ES5 \u4ee3\u7801                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4701023\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wxsm <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @LiubaiQ \u8bed\u6cd5\u548c API \u662f\u4e24\u7801\u4e8b\u3002<\/p>\n<p>\u6211\u89c9\u5f97\u4e8c\u7ef4\u6570\u7ec4\u662f\u6700\u9002\u5408\u7684\u3002<\/p>\n<p>[<br \/> [ {}, {}, {} ],<br \/> [ {}, {}, {} ]<br \/>]                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4701024\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wxsm <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u9700\u8981\u5b58\u50a8\u7684\u884c\u5217\uff0cundefined \u5360\u4f4d\u5c31\u884c                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4701025\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : GrapeCityChina <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7528 double\uff0c\u5c3d\u91cf\u4e0d\u8981\u4f7f\u7528 object \u3002<\/p>\n<p>\u5173\u4e8e\u8fd9\u4e00\u70b9\uff0c\u521a\u597d\u5728\u524d\u51e0\u5929\u7684 .NET \u5f00\u53d1\u8005\u5927\u4f1a\u4e0a\u6709\u8fc7\u5206\u4eab\uff0c\u89c6\u9891\u56de\u653e\u5730\u5740\uff1a https:\/\/gcdn.grapecity.com.cn\/forum.php?mod=viewthread&amp;tid=85101&amp;page=1&amp;extra=#pid339024                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4701026\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : renmu123 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7a00\u758f\u6570\u7ec4                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4701027\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : no1xsyzy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5982\u679c\u9700\u6c42\u6ca1\u5f97\u7f29\u6c34\uff0c\u90a3\u5c31\u7a00\u758f\u8868\u683c\u5427<br \/>interface unit {data: any, down?: unit, right?: unit, coordinate: [number, number]}<br \/>interface row_index {down?: row_index, right?: unit, row_id: number}<br \/>\/\/ interface col_index {down?: unit, right?: col_index, col_id: number}<br \/>interface table {row_indices: row_index[] \/*, col_indices: col_index[] *\/}<br \/>\u6ce8\u91ca\u8303\u56f4\u662f\u5217\u7d22\u5f15\uff0c\u770b\u4f60\u8fd9\u8fb9\u4f3c\u4e4e\u7528\u4e0d\u4e0a\u3002<\/p>\n<p>Map \u4e0d\u9002\u5408 4.                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4701028\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zqx <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e8c\u7ef4\u6570\u7ec4\u597d\u7406\u89e3\uff0c\u8bfb\u5199\u90fd\u65b9\u4fbf\uff0c\u60f3\u4e0d\u5230\u4e0d\u7528\u7684\u7406\u7531                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4701029\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : w292614191 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6570\u636e\u5b58\u50a8\u633a\u7b80\u5355\uff0c\u590d\u6742\u7684\u662f\u884c\u5217\u7684\u589e\u5220\u3001\u62d6\u62fd\u3001\u5f15\u7528\u5173\u7cfb\uff0c\u8981\u505a\u5927\u91cf\u7684\u8ba1\u7b97\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4701030\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wzzzx <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7a00\u758f\u6570\u7ec4                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4701031\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hakono <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u90a3\u5565\uff0c\u63d0\u9192\u4e0b LS \u7684\u5404\u4f4d\uff0cLZ \u8fd9\u79cd\u6d89\u53ca\u5230\u6570\u636e\u8868\u683c\u7684\u9700\u8981\uff0c\u4e0d\u662f\u4e00\u4e2a\u7b80\u5355\u7684 Map \u3001\u6570\u7ec4\u5c31\u80fd\u80dc\u4efb\u7684<br \/>\u53ef\u4ee5\u9884\u89c1\uff0cLZ \u7684\u9700\u6c42\u4f1a\u6e10\u6e10\u589e\u52a0\u2014\u2014\u641c\u7d22\u67d0\u884c\uff0c\u641c\u7d22\u67d0\u5217\uff0c\u83b7\u53d6\u6307\u5b9a\u884c\u6570\u636e\uff0c\u83b7\u53d6\u6307\u5b9a\u5217\u6570\u636e\uff0c\u4e5f\u6709\u53ef\u80fd\u4f1a\u6709\u884c\u5217\u7684\u4e92\u76f8\u8ba1\u7b97<\/p>\n<p>\u6240\u4ee5 LZ \u9700\u8981\u7684\u662f\u4e00\u4e2a\u7c7b\u4f3c Python \u4e2d pandas \u7684 Dataframe \u5e93<br \/>\u641c\u4e86\u4e0b\uff0cdanfojs \u5e94\u8be5\u7b26\u5408 LZ \u9700\u6c42                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4701032\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zypy333 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                              \/t\/693711 \u8fd9\u4e2a\u5e16\u5b50\u91cc\u8bf4 SpreadJS \u7528\u7684\u662f\u7a00\u758f\u77e9\u9635 \u5b83\u8fd9\u597d\u50cf\u662f\u5e7f\u544a,\u7ec6\u8282\u4e5f\u6ca1\u8bf4,\u4ec5\u4f9b\u53c2\u8003                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4701033\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : jones2000 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u65e0\u6548\u5355\u5143\u683c \u6216 \u65e0\u6548\u884c\u90fd\u6307\u5411\u540c\u4e00\u4e2a\u5168\u5c40\u53d8\u91cf\u4e0d\u5c31\u53ef\u4ee5\u4e86. 2 \u7ef4\u6570\u7ec4\u53ea\u662f\u5b58\u4e86\u4e00\u4e2a\u5f15\u7528<\/p>\n<p>var g_nullitem={ IsNull:true };<br \/>var g_nullrow={IsNull:true} <\/p>\n<p>[<br \/> [ {value:10}, {Value:20}, g_nullitem, g_nullitem,g_nullitem],<br \/> g_nullrow, <br \/> [ g_nullitem, {Value:20}, g_nullitem, g_nullitem,g_nullitem],<br \/> g_nullrow, <br \/> &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;<br \/>]                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>javascript \u8868\u793a Exc&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/229349"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=229349"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/229349\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=229349"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=229349"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=229349"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}