The problem is the $(“#tableSearch”).trigger(“reloadGrid”); method. However this must be called to enable paging to work with local data (It does work fine once this is called)
The problem with the method is it causes a call to the addJSONData method which in turn contains the following line
this is where the problem is. At this point whatever is set as your localreader id value is now being used rather then the original rowID value, hence since your object (in my case) doesnt contain the default value id a new rowid is generated and bammm your old values are thrown out.
So basically the temp solution to this is to add the following to your original declaration