PDA

View Full Version : Problem with creating new HTML table rows contained Ext Comobox



4 Nov 2009, 10:25 PM
I have a HTML table. and created 1 row at design time with Ext ComboBoxes.
I want to add more similar rows dynamically.I have done it by cloning the first row and appending it to the table.
Its adding similar rows, but when i click the trigger of any ComboBox in newly created rows always the list of the combo box of the 1st row is opened, it simulates the clicking of trigger of the combo box of the 1st row. please help me to resolve this

I am using this function

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


Thanks,
Palash