Hybrid View

  1. #1
    Sencha User
    Join Date
    Nov 2010
    Posts
    80
    Vote Rating
    0
    mond is on a distinguished road

      0  

    Default Grid getSelectionMOdel undefined use of m[number].

    Grid getSelectionMOdel undefined use of m[number].


    Hi Im experiencing undefined value in grid selectionmodel.

    Code:
    for(var ctr=0;ctr<=m.length;ctr++){
        m[ctr].get('grid');
    }
    the m[ctr] is undefined causing the m[] is not reading the values inside m[].

  2. #2
    Sencha - Community Support Team sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,332
    Vote Rating
    83
    sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough

      0  

    Default Out of m[..]'s length

    Out of m[..]'s length


    Hi,

    I think that your condition is wrong in "FOR". It must be
    Code:
    for(var ctr=0;ctr<m.length;ctr++){
    instead of "<=".

    If we suppose that length of m is 4, so last element of m is m[3]. If you try m[4], you can recive some errors.
    Last edited by sword-it; 1 Jun 2012 at 6:39 AM. Reason: missing spelling
    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar