Categories | Question details Back To List | ||
InsertColumn and set values manually Hi, I have got error "cell is undefined" with : ... monTableau.init(); monTableau.addRow(0,"SAO TOMÉ-ET-PRINCIPE|ST|false|CYF|200|1215520941746"); monTableau.insertColumn('6','Supprimer'','ro',25,'na','center','middle'); monTableau.setColumnId(6, 'select'); numLigne0 = 0; monTableau.cells2(0,6).setValue("<IMG src='corbeille.gif' onClick='javascript:supprimerLigneTableau(numLigne0);'/>"); Instruction monTableau.cells2(0,6) return undefined, but I don't know why. Before, grid Any idea ? Answer posted by Support on Nov 06, 2008 09:32 >>monTableau.addRow(0,"SAO The row ID == 0, reserved for virtual root item, please use any other ID value. Also please be sure that your grid really has 6 columns and inserted column a 7th ( the column indexes are zero based, so 7th column has index 6 ) becuase the insertColumn automatically use last column index if provided parameter is not correct |