Can't answer you on the event question (though you shouldn't ever assign an event directly like that), but I can say that you should probably attach that event handler either to the tbody element or to the table element, and not to every row. That way it's only created once, and you don't have to try to reassign it to each new row that is created.
trt
mengel wrote:
In setting up the double click events for a Filtering Table
programmatically, how come this works:
dojo.event.connect(row[i], "ondblclick", BuildCodes,
"rowSelected");
but this doesn't:
row[i].ondblclick = BuildCodes.rowSelected;
where row[i] is the row of the FilteringTable that I'm working with.
Are they not programmatically equivalent?
Matthew Engel
Senior Programmer/Analyst
State University of New York at Stony Brook
mengel@notes.cc.sunysb.edu
_______________________________________________
Dojo FAQ:
http://dojo.jot.com/FAQDojo Book:
http://manual.dojotoolkit.org/DojoDotBookDojo-interest@dojotoolkit.org
http://dojotoolkit.org/mailman/listinfo/dojo-interest