sujeetkr
27 Sep 2012, 5:54 AM
Hi,
I am maintaining an array. It contains some key values pairs and it keeps changing. How can I view this array in extjs?
eg : var arr =[], arr['abc'] ='online'; arr['def']='offline' etc
Can I use grid panel to view this array? Like two column grid panel, where first column will contain key and second column will contain value.
Also I would like to update the grid panel, if array values changes.
Can I use template for above purpose? How can I use template?
Problem I face: The dataprovider for the gridpanel is store. How can I convert my array to store data type?
What are your recommendations to do that?
Thanks,
Sujeet
I am maintaining an array. It contains some key values pairs and it keeps changing. How can I view this array in extjs?
eg : var arr =[], arr['abc'] ='online'; arr['def']='offline' etc
Can I use grid panel to view this array? Like two column grid panel, where first column will contain key and second column will contain value.
Also I would like to update the grid panel, if array values changes.
Can I use template for above purpose? How can I use template?
Problem I face: The dataprovider for the gridpanel is store. How can I convert my array to store data type?
What are your recommendations to do that?
Thanks,
Sujeet