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

Re: Autocomplete oResultItem ist an array and not a string

Expand Messages
  • jennykhan
    Hi Daniel, According to the schema you have defined, your JSON would have to look something like this: { recordcount :7, columnlist : ID,NAME , data : [
    Message 1 of 1 , Dec 13, 2006
    • 0 Attachment
      Hi Daniel,

      According to the schema you have defined, your JSON would have to look
      something like this:

      {"recordcount":7,
      "columnlist":"ID,NAME",
      "data": [
      {"MARKE_ID":246,"NAME":"Acc..."},
      {"MARKE_ID":247,"NAME":"Acc..."},
      {"MARKE_ID":251,"NAME":"Aco..."},
      {"MARKE_ID":1322,"NAME":"Aco..."},
      {"MARKE_ID":250,"NAME":"Aco..."},
      {"MARKE_ID":252,"NAME":"ACR"},
      {"MARKE_ID":255,"NAME":"Acu..."}
      ]}

      where "data" is an array of result objects, and "NAME" and "MARKE_ID"
      are properties of each result object.

      Hope that helps,
      jenny
    Your message has been successfully submitted and would be delivered to recipients shortly.