(Note, I'm assuming this is Ext 3.x as you're using JsonStore.)
Double-check that your store is valid: add a load handler, and using Firebug, put a BP in it, and examine the contents of "store".
...
Type: Posts; User: fay
(Note, I'm assuming this is Ext 3.x as you're using JsonStore.)
Double-check that your store is valid: add a load handler, and using Firebug, put a BP in it, and examine the contents of "store".
...
This will get you to it when you're logged in: http://www.sencha.com/forum/usercp.php
(Think this has been reported to Sencha already.)
Yep, link's missing. This will get you to it: http://www.sencha.com/forum/usercp.php
Use Firefox + Firebug and take a look at what is being returned by usersdata.js in the console.
Take a look at Ext.data.Model and the data package.
Folks,
It's only a minor thing, but after you download Ext JS 4.0.2a, the "Thank You" page points you to the legacy "Learning Center" page...
Have you looked at the tutorials, e.g., HTML Page Setup?
Use ext-all-debug.js to get a better idea of where the error is occuring.
'AM.model.User' - as that's the name you've given your model.
The problem is that you just mixed up the examples... There would be no reason for the Ext.data.Model example to reflect the stuff that's in the MVC guide.
Would you not just read the model config?
See: http://www.sencha.com/forum/showthread.php?136973-how-to-migration-ExtJS-3-To-Ext-4&p=613872&viewfull=1#post613872
Have you double-checked that your JSON is valid with www.jsonlint.com? With IE it tends to be a trailing comma issue, other browsers are more tolerant of that.
See the toggle() method.
Note, that I put in (cell[1], cell[0]) - row and col are swapped
Would you happen to have disableCaching set to false?
I think this is what you're referring to (in section III): http://docs.sencha.com/ext-js/4-0/#/guide/class_system
Take the \examples\grid\edit-grid.js example and change the load callback to:
store.load({
callback: function(){
grid.startEditing(0,1);
}
});
From the docs for getSelectedCell:
... so try:
var cell = this.grid.getSelectionModel().getSelectedCell();
this.grid.getColumnModel().getCellEditor(cell[1],...
Assuming 'TabPanel' is the id you've assigned your Ext.TabPanel:
var title = Ext.getCmp('TabPanel').getActiveTab().title;
// Note: Make sure you use the setTitle() method if you want to...
Take the \examples\grid\array-grid.js example and add itemmouseenter and itemmouseleave listeners:
var grid = Ext.create('Ext.grid.Panel', {
// ...
listeners: {
itemmouseenter:...
Why do you need the hidden "id_hopital" column when you have this data available through the store?
RE: loading box. See Ext.grid.View's loadMask config.
EDIT: Btw, this was answered earlier - see:...
Also take a look at the Ext.grid.View getRowClass method.
Take a look at Ext.History.