PDA

View Full Version : Problem With cloning table row contained combobox



palash.maji@hotmail.com
4 Nov 2009, 10:14 PM
I have a HTML table with a row contained 2 Ext combo boxes, 1 Ext text box and 2 Ext buttons.

Now i am trying to add some rows dynamically(code below) by cloning the 1st row, the rows are added but clicking on the trigger of combobox of newly created row it alway opens the list of the combo box of the 1st row.plzz help me to resolve this.

The function i have called :

function addRow(objTable)
{
var objFirstTR = objTable.rows[0];
var objNewTR = objFirstTR.cloneNode(true);
objTable.appendChild(objNewTR);
}