hello,

I want to put some custom data in to column field... my data located at the local store.

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...