All,
In JavaScript I curretnly create a simple dropdown like this:
ddlAcctTypes = document.createElement('SELECT'); ddlAcctTypes.id = 'ddlAcctTypes'; ddlAcctTypes.onchange = function() {ddlAcctTypes_selectedIndexChange(this);};
Then when my table row turns editable, I set the Cell's innerText to '' and slide in ddlAcctTypes. On save I remove the drop down and set the cell's inner text to the selected text.
Works great, but now I need the drop down area of the combo box to be wider than the cell. Something that the igCombo can do easily.
So the question is how can I create one in JavaScript and hold it in a variable until I need it? Is there and ig_CreateComboBox function?
WebCombo is a server-side ASP.NET control. It must be created in server side code.