enterprise
enterprise copied to clipboard
Datagrid: Unable to set custom Tab Sequence
Describe the bug
We need to set a custom tab sequence. This has worked until version 4.90.0 bur with version 4.91.0 but with Pull Request #8259 this is not possible anymore. The DOM will now be updated constantly adding tabIndex=0
to some cells in the Datagrid. I tried setting the Datagrid property actionableMode = false
but it did not revert the behaviour to how it was prior to correction #8259. Don't know how to disable correction #8259? (setActiveCell is called whenever the tab key is pressed.)
This is a business requirement we need to continue to support. Since we can't release our new version until this functionality works this is a showstopper for us.
To Reproduce We set a custom Tab sequence after the Datagrid has been rendered by updating the DOM but with correction #8259 this is no longer possible since the DOM is constantly updated with new tabIndex values when pressing the tab key.
Expected behavior A way to disable the behaviour introduced by (https://github.com/infor-design/enterprise/pull/8259) so we can override the tab sequence.
Version
- ids-enterprise: v4.96.0
- ids-enterprise-ng: v18.0.1
Screenshots The tab sequence should traverse through the open input fields but now the next field:
Should work like this:
Pressing the Tab key should then get you to the next input field on the next row:
But now it works like this:
The "Info" field is an action field that should not be part of the tab sequence: