Updatable Datagrid Row

the message you have entered is too short. Please lengthen your message to at least 1 characters. i had like 2 paragraphs :frowning: AHHH twice now… atleast i copyed before trying to post this time… three times… are the fourms broken?

 
if (panearray[cc["id" + i]] == undefined)
        {
            trace("this happened");
            
        panearray[cc["id" + i]] = Pane.addItem({ID:cc["id" + i],Name:cc["Name" + i],Life:cc["Life" + i]});
        
        }
        else
        {
            trace("this happened too");
            panearray[cc["id" + i]] = [cc["id" + i],cc["Name" + i],cc["Life" + i]];
        }  

What im trying to do is set a data grid row as a variable in a array, however after setting the variable it remains undefined what is it im doing wrong im also guessing at the code in the else, since i haven’t gotten there to test it