когда я использую LazyTreeGrid
, я столкнулся с небольшой проблемой; У меня есть файл JSON следующим образом:
{id: 'AF', name:'Africa',description:""},
{id: 'EG', name:'Egypt',description:""},
{id: 'KE', name:'Kenya',description:
{
compents:
[
{id: 'Nairobi', name:'Nairobi', type:'city'},
{id: 'Mombasa', name:'Mombasa', type:'city'}
]
}
}
Я понятия не имею, как установить детей в ForestStoreModel
, может быть, как childrenAttrs:['description.compents']
(к сожалению, это не работает...)?