Hello,
I’m trying to use comobox into dhtmlxgrid, but i got some problems.
First, i would like to create a grid which is empty in beginning, and make a function to create rows dynamicaly.
My grid has this form : ed|date|hour|combo
function creerLignesDuplication(nbCreation)
{
tableau.clearAll();
var combo = tableau.getCombo(3);
combo.clear();
for(var j = 0; j<tabComboType.length;j++)
{
combo.put(tabComboType[j][0],tabComboType[j][2]);
}
combo.save();
for(var i = 1; i<=nbCreation; i++)
{
tableauDuplication.addRow(i,"
HERE_I_WANT_SOME_DEFAULT_VALUES[code]",tableauDuplication.getRowsNum());
}
}[/code]
Question : How to create several lines like this in javascript