I have a json store that returns values in json format. Now I need to get the number of rows/records in the json string but when I use store.getCount() function it returns 0, but the combobox is populated with rows, and when I use store.length I get undefined, probably because its not an array anymore, its returning from store, which is calling php script. Anyways, whats the best approach for this problem?
I have a json store that returns values in json format. Now I need
Share
Try this out:
and then use inside panels:
Whenever you need to get the count then you can simply do this: