1 Reply Latest reply on Aug 18, 2008 4:24 PM by kglad

    Strange error with Datagrid

    ukshadow
      Some users are reporting me that this datagrid is showing a strange behaviour.

      case 'getMessages':{
      dpMensajesEncolados.removeAll();
      len = data.length;
      for(var i =0; i< len; i++){
      //dpMensajesEncolados.addItem({vc_para:data [''], vc_de:data[''], vc_mensaje:data [''], vc_fecha:data['']});
      dpMensajesEncolados.addItem(
      {i_busca:data ['i_busca'],
      i_edad:data
      ['i_edad'],
      i_estado:data ['i_estado'],
      i_estado_civil:data
      ['i_estado_civil'],
      i_signo:data ['i_signo'],
      id_de:data
      ['id_de'],
      id_mensaje:data ['id_mensaje']
      }

      Once in a while, one of the items (id_mensaje) displays the same information as the one above it. What is strange is that the query returns the correct information, and even more strange is that when the data in the item gets shown in a text, it shows the correct information.

      Any ideas? I am completely confused.
        • 1. Re: Strange error with Datagrid
          kglad Adobe Community Professional & MVP
          use the attach code option in this forum to display code.

          but your problem is not likely a coding issue. it's probably a problem with an conflict between the datagrid and some other component or some other component issue.

          you can try invalidating your datagrid to see if you can force it to draw correctly.