javafx set onkeypressed for an editable comboboxtablecell
<p>I have an editable tableview with editable column with this cell factory</p>

<pre><code>tblColumn.setCellFactory(t -&gt; { 
                        ComboBoxTableCell myComboBoxTableCell = new ComboBoxTableCell();
                        myComboBoxTableCell.setOnKeyPressed(e -&gt; {
                            System.out.println("key pressed");
                            KeyCode code = e.getCode();
                            System.out.println("code "+code);
                        });
                         myComboBoxTableCell.setComboBoxEditable(true);
                        return myComboBoxTableCell;
                    });
</code></pre>

<p>what i'm trying to do is to get letter typed in the editable <code>comboBoxTableCell</code>, but when i type, the <code>onKeyPressed</code> method is not fired. am i doing something wrong?
PLease help.</p>