Hello,
Im trying to use the Ext.grid.Grid in my mvc app, but Im getting an error that Ext.grid cant be found. Here is my code. Is the grid not used in Touch?
http://ift.tt/1nKdEpA 404 (Not Found)
Uncaught Error: [Ext.Loader] Failed loading 'http://ift.tt/S1D8jw', please verify that the file exists
Code:
Ext.application({
name: "iPal",
appFolder: "/iPal",
models: ["iPal.model.prodModel", "iPal.model.custModel"],
stores: ["iPal.store.prodStore", "iPal.store.custStore"],
controllers: ["iPal.controller.Main"],
views : ["iPal.view.login", "iPal.view.prodGrid"],
___________________________________________________________________________
Ext.define("iPal.view.prodGrid", {
extend : "Ext.grid.Grid",
requires: ["iPal.store.prodStore"],
xtype : "prodgrid",
store : "prodStore",
columns : [
{ text: 'Item#', dataIndex: 'pmitno'},
{ text: 'Description', dataIndex: 'pmdesc'},
{ text: 'Price', dataIndex: 'pmitpr'},
{ text: 'Tax', dataIndex: 'pmittx'},
{ text: 'Shipping', dataIndex: 'pmitsh'}
],
height: 200,
width : 400,
renderTo : Ext.getBody()
});
Aucun commentaire:
Enregistrer un commentaire