I have the requirement for an cell editable table, where the keyboard navigation will skip certain cells, but I need the cells to be editable if the user were to click on them.
There are 3 columns. When the user tabs out of the last editable field in a column, I want to add a new row, and place the editor in the 3rd editable column on the new row. Skipping row 1 and 2. But they can still go back and edit those.
- I have tried playing with tabindex but it did nothing.
- I tried accessing the editableColumns as viewChildren, but the editable column of the new row doesn't really exist this way until after the tab handler.
- Also have noticed that using editableColumn.openCell() sort of works, but then the styling of the table goes funny, and the cell is not really focused.
Any hints on how to accomplish this with the table API from prime-ng would be greatly appreciated.