0
我想把一些自定義數據放在列字段中...我的數據位於本地商店。EXTJS網格數據索引定製和我的誤解
code of my grid:
columns: [
{text: "name", flex: 1, dataIndex: 'name'},
{text: "type", flex: 1, dataIndex: 'type'},
{text: "value", flex: 1, dataIndex: 'function', renderer: this.rendeValueColumn},
{text: "parameter", flex: 1, dataIndex: 'parameter'},
{text: "rule", flex: 1, dataIndex: 'rule'}
],
i want to change 'rule' .
i'm try to : var a = 'test'; {text: "rule", flex: 1, dataIndex: a} etc...
but that way arent help me.
它工作的很好,謝謝。 – ferret228 2012-04-19 07:30:31