GIGJ.COM
welcome to my space
X
Welcome to:gigj.com
Search:  
 HOME   Problem with JsonReader and MemoryProxy with an index value > 0
Problem with JsonReader and MemoryProxy with an index value > 0
Published by: admin 2010-03-18

  • [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=8
    HOME
    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+grid
    HOME


    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+LeComte
    HOME
    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=25198
    HOME

    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

    #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about Problem with JsonReader and MemoryProxy with an index value > 0 , Please add it free.
  • how do i look like cristobal balenciaga
  • has any meet the jonas brothers or miley cyrus
  • what do you think of these clothes easy 10 points
  • can i please get some opinions on this excerpt from a short story i 039 m writing
  • poll what 039 s ur style nice and slow or fast reckless
  • how many
  • i want a belly piercing but i want to know
  • help me in that essay please
  • where can i find vip tickets to meet the jonas brothers
  • can playing the violin and viola help me with playing the guitar
  • is my gf delta goodrem check out her pics
  • i really want to meet the jonas brothers could any1 let me know how i can meet them
  • what would you do to meet the jonas brothers
  • www jonasbrothers com
  •  
  • jonas brothers
  • is this really obama 039 s zip code
  • how do i pass event 14 in brawl
  • what are some informative topics
  • has anyone ever tried vonage phone service and does it really work well
  • what should i wear to meet the jonas brothers
  • what height do you prefer in guys
  • am i that ugly pictures
  • why does jacob imprint on renesmee
  • i really want to meet the jonas brothers so much their soooo good
  • do you think that this is one of the many reasons that people don 039 t like the jonas brothers
  • i want to meet the jonas brothers but i don 039 t know how i 039 ve tried everything any ideas how i can
  • so these pretty much sum up everything
  •  Homepage | Add to favorites | Contact us | Exchange links | LOGIN | Site map | 
    Copyright© 2008 gigj.com        Site made:CFZ