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("");



Instruction monTableau.cells2(0,6) return undefined, but I don’t know why.

Before, grid



Any idea ?



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