我想将一些自定义数据放入列字段中......我的数据位于本地商店。
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.