I commented out some code blocks to find out which code causes this problem. I eliminated lots of code parts by this way and reached this line:
YAHOO.util.Event.addListener(document,"keydown",this._onDocumentKeydown,this);
This line is at the datatable-beta.js and I don't know why they did something like this. They're handling keydown event of all dom element. That's why I cannot hit the enter to select an option from combobox. Combobox is just a sample, I mean we cannot use enter for any component at the page. Handler method's code is below:
YAHOO.widget.DataTable.prototype._onDocumentKeydown=function(e,oSelf)
{
if((e.keyCode==27))
{
oSelf.cancelEditorData();
}
if(e.keyCode==13)
{
YAHOO.util.Event.stopEvent(e);
oSelf.saveEditorData();
}
}
They're handling escape and enter characters. I do not want to comment out these lines. It may effect other code blocks. I found the problem exactly, but you may still suggest a solution. Because, even if i found the problem, I'm still searching the best way to use enter key without changing orginal script.