Loading ...
Sorry, an error occurred while loading the content.

202Re: [json] JSON Prob

Expand Messages
  • MPCM
    Jan 7, 2006
      celldata is an array of objects, each object having 2 properties.

      You can loop through the properties and count, but I'm not sure if there is
      a function that will return the flat count. If there is, I haven't run
      across it yet online. It is crude, and I'd love to see a better way.

      Something like
      var i=0;
      for(var prop in celldata[0]){i++;}

      [Non-text portions of this message have been removed]
    • Show all 4 messages in this topic