-
31 May 2012 11:52 PM #1
Grid getSelectionMOdel undefined use of m[number].
Grid getSelectionMOdel undefined use of m[number].
Hi Im experiencing undefined value in grid selectionmodel.
the m[ctr] is undefined causing the m[] is not reading the values inside m[].Code:for(var ctr=0;ctr<=m.length;ctr++){ m[ctr].get('grid'); }
-
1 Jun 2012 6:38 AM #2
Out of m[..]'s length
Out of m[..]'s length
Hi,
I think that your condition is wrong in "FOR". It must be
instead of "<=".Code:for(var ctr=0;ctr<m.length;ctr++){
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.


Reply With Quote