PDA

View Full Version : Hwo to fill PropertyGrid from Store



1099511627776
1 Jan 2012, 10:10 AM
Hello,
I have this kind of problem:
I'm trying to fill PropertyGrid with data from Ext.data.Store
I've tried different types of data it a Store:


[{name:'name1',value:'value1'},{name:'name2',value:'value2'}]

and other type:


[{"name1":"value1"},{"name2":"value2"}]


if I load first kind of data into a Store thet the data is loaded PropertyGrid fills itself with values (i see the scrollbar and count of items == count of data items) but "name" and "value" not shown
30411
When I fill store with first type of data I dont event the count of loaded records

So can I fill propertygrid with Store data ?? And how to do it.
Please a small tutorial becaise ExtJS tutorials have no info about this question

1099511627776
1 Jan 2012, 11:32 AM
Never mind the question,
It was my problem
I've just forgotted to change the store model according to server data format