-
While, using the tab keystroke to navigate my application, when an ibm-table component is tabbed over the keyboard navigation control does not drill down into the table's rows. The control reaches the table header and then switches to the table footer avoiding the rows. Is there a way to navigate through the table rows ( such that a specific row can then be selected by a (keyup.enter) event). Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
Hey @sumanapp! Try setting docs: https://angular.carbondesignsystem.com/documentation/classes/src_table.table.html#isdatagrid |
Beta Was this translation helpful? Give feedback.
-
That helped. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Also, when I use ibm-progress-indicator and switch from one step to the next, the focus drops from the dialog to the parent document object. Have you noticed such a problem before? |
Beta Was this translation helpful? Give feedback.
-
Another quick question: How is selectorPrimaryFocus used? Can I set selectorPrimaryFocus to say a button in my DOM? If I had to assign it to a button should I just use the button id as a vale for selectorPrimaryFocus? And have the button specify: modal-primary-focus attribute? |
Beta Was this translation helpful? Give feedback.
Hey @sumanapp!
Try setting
[isDataGrid]="true"
on your table component, that will give you arrow key based table navigation.docs: https://angular.carbondesignsystem.com/documentation/classes/src_table.table.html#isdatagrid
demo: https://angular.carbondesignsystem.com/?path=/story/components-table--basic (see the knobs panel -> "Data grid keyboard interactions" checkbox)