в моей структуре JSON у меня есть объект:
[{ id: 1, name: xxxxx, operation1: { startdate: 2011-10-25, enddate: 2011-11-25 }, operation2:{......}}]
для отображения даты операции мне нужен доступ к stardate и enddate, но как?
Я пытался
{header:'operation1', xtype:'templatecolumn', tpl:'<span>{operation1.startdate}</span>', align:'center'}
фактически, я создаю столбцы динамически:
for(var i=1;i<=31;i++){
this.columns.push({header:i, xtype:'templatecolumn', tpl:'<span>{operation'+i+'.startdate}</span>', align:'center'});
}