[1.1] Ext.ux.data.PagingMemoryProxy - Page 8 - Ext JS Forums:: So, by making value.format(d/m/Y) my problem is fixed but, is there a way to use a JsonReader is because I already have the combodata as json and not as http://yui-ext.com/forum/showthread.php?t=11652&page=8HOME | I'm not sure this is a bug or a feature request, however: EditorGrid - working example (php/mysql backend) - Ext JS Forums:: be able to select an entire column and do something with it (NOTE: as of Ext2.0-rc1 the GroupingStore has problems sizing the grid when columns are hidden) http://extjs.com/forum/showthread.php?t=18435&highlight=combobox+gridHOME |
When building the grid using JsonReader and MemoryProxy, I have an array that is parsed into json. Below are the arrays before they're parsed into json (because I think it's easier to read.) Add Records - Ext JS Forums:: ds.insert(0, r); //1st arg is index, //2nd arg is Ext.data.Record[] records Yes everything works i can edit all of the columns with no problem. http://extjs.com/forum/showthread.php?t=27777&highlight=Michael+LeComteHOME | Grid Filter Menu - Page 2 - Ext JS Forums:: the filter code above and having problems with adding the option to (input.value.length > 0 && isFinite(input.value)) this[keys[index]] = input.value; http://extjs.com/forum/showthread.php?p=25198HOME |
Array (
[0] => Array
(
[assoc_id] => 1001
[id] => 1001
[leads_id] => 145651
[sale_objectives_id] => 1001
[owner_id] => 8166650
[created] => 2007-04-20 15:19:17.645127-05
[completed] =>
)
);
Here the index starts at 0 and builds the grid as expected.
The problem happens when the index value is greater than 0.
This will fail.
Array (
[1001] => Array
(
[id] => 1001
[leads_id] => 145651
[sale_objectives_id] => 1001
[owner_id] => 8166650
[created] => 2007-04-20 15:19:17.645127-05
[completed] =>
)
);
Here is the json:
{"1001":{"id":"1001","leads_id":"145651","sale_objectives_id":"1001","owner_id":"8166650","created":"2007-04-20 15:19:17.645127-05","completed":null}}
I would think that if the index value doesn't start at 0 the grid will build it's own array when parsing json data.
The set of rows must be a regular, numerically indexed Array. These start at index 0, and go upwards:
So you complete Json object will look like:
}
So set the "root" to "data", and the "totalProperty" to "totalCount", and that will work.
Nortel Unveils Vision, Strategy for Israeli High-Performance Net
Busy Friday Leads to Strong Close for Net Stocks
|