Why does calling the YUI Datatable showCellEditor not display the editor?

Posted by t-boy on Stack Overflow See other posts from Stack Overflow or by t-boy
Published on 2010-01-28T16:23:20Z Indexed on 2010/03/23 5:01 UTC
Read the original article Hit count: 454

Filed under:
|

Clicking on the second cell (any row) in the datatable causes the cell editor to display. But, I am trying to display the cell editor from code. The code looks like the following:

    var firstEl = oDataTable.getFirstTdEl(rowIndex);
    var secondCell = oDataTable.getNextTdEl(firstEl);
    oDataTable.showCellEditor(secondCell);

When I debug into the datatable.js code (either with a click or from the code above) it follows the same path through the showCellEditor function but the above code will not display the editor.

I am using YUI version 2.8.0r4.

© Stack Overflow or respective owner

Related posts about yui

Related posts about yui-datatable