My dilemma involves a JSON store that provides data in JSON format. I am currently attempting to determine the number of rows or records in the JSON string. However, when utilizing the store.getCount()
function, it consistently returns 0. Strangely, the combobox is populated with rows. When attempting to use store.length
, I receive an undefined value. This issue likely stems from the fact that the data is no longer in an array form, as it is being returned from the store which calls a PHP script. What would be the optimal approach to solve this problem?