json數(shù)據(jù)
data["Sepal.Width"]=[]; data["Sepal.Length"]=[];
改為data.children=[]; data.children[0]={"Sepal.Width", "Sepal.Length"},這樣會(huì)比較好操作,一般都是這種形式的。
20150706
把json格式改為如上,用常規(guī)的方法實(shí)現(xiàn)。
D3 tooltip http://bl.ocks.org/ilyabo/1373263
20150707
settings-parser.js
w.HotTableUtils
w.HotTableUtils.SettingsParser
nested-tables.js
w.HotTableUtils.NestedTable
HotTableUtils.NestedTable.strategies.emulation
HotTableUtils.NestedTable.strategies.native
editor.js
w.HotTableUtils.Editor
hot-table真麻煩,自己寫不太現(xiàn)實(shí)。
https://github.com/sfp12/hot-table/blob/master/src/editor.js
http://handsontable.github.io/hot-table/examples/dashboard.html
http://www.csdn.net/tag/handsontable
http://blog.csdn.net/mafan121/article/details/46050049
20150708
明天看:http://docs.polymerchina.org/1.0/docs/devguide/properties.html
http://bl.ocks.org/ilyabo/1373263 tooltip
20150711
會(huì)有三四種數(shù)據(jù)結(jié)構(gòu)
單元格有下拉菜單,復(fù)制粘貼
行列:插入 刪除 復(fù)制 粘貼
表格的樣式:邊框,顏色
自動(dòng)填充多個(gè)單元格。
還得先看handsontable。
20150714
handsontable主要內(nèi)容看完了。
接著看polymer
handsontable會(huì)改變數(shù)據(jù)源,所以需要經(jīng)常save