Unanswered: Tab Merges in each other and getting error...
Unanswered: Tab Merges in each other and getting error...
We are working on a cross platform mobile application for Android and iPhone.
We are using sencha 1.0 and corodova 2.0.
Solving this issue is very high priority.
While working with stores we always get this below issue
E/Web Console(3333): Uncaught TypeError: Cannot call method 'insertBefore' of null at file:///android_asset/www/sencha/sencha-touch.js:8345
We are using store in following way
data.mDocResponse.consultQuestions = data received from web service.
var values = Ext.ModelMgr.create(data.mDocResponse.consultQuestions,'ConsultationQuestionDto'); var consultationQuestionStore = Ext.getStore('ConsultationQuestionStore');
consultationQuestionStore.getProxy().clear();
consultationQuestionStore.data.clear();
consultationQuestionStore.add(values);
consultationQuestionStore.sync();
Every time we get data from web service we use the same steps. Please let us know if we are doing it wrong and let us know the better approach to use.