I am beginner to Sencha. I am writing one simple program where I have to filter some store data.
If I do this in test project, it works. But in actual project the store.filter() always return empty list. There is absolutely no difference between two projects as far as code is concerned. I observed one thing though, in my test project, store.getData() returns following info.
Class
_autoFilter: true
_autoSort: true
_filterRoot: "data"
_filters: Class
_autoFilter: true
_autoSort: true
all: Array[1]
0: Class
_filterFn: function (item) {
_id: "optionid-1"
_property: "optionid"
_root: "data"
_value: 1
and in actual project, the same variable is displayed as:
Class
_autoFilter: true
_autoSort: true
_filterRoot: "data"
_filters: Class
_autoFilter: true
_autoSort: true
all: Array[1]
0: Class
_filterFn: function (item) {
_id: Class
_property: Class
_root: "data"
Portion marked in red is the only difference i can think of. Would this cause issue? Is it due to referring different jar files?