How do I move to next column when I'm pressing Tab & Shift+Tab:
If for example my text cursor is in first column of table.
I want to be able to move to next column by pressing Tab and move back when pressing Shift+Tab.
So I have these code written already:
documentEditor.keyDown = (args: any): void => {
... some codes here
... some codes here
}
Hi Min,
Normally, TAB and shift + Tab navigate between cell. Can you please confirm do you want to override the existing functionality? if yes, please refer documentation for key override.
Please let us know if you need any further assistance.
Regards,
Suriya M.
Hi Suriya,
Yeah ideally TAB & SHIFT + TAB within table should work out of the box from syncfusion right?
But currently it does not work on our end. What do you think maybe causing this?
Are we missing something? Like some configuration from document editor?
This is the current version we are using:
Hi Min,
Currently, we are validating and will update details by June 30, 2022.
Regards,
Suriya M.
Hi Saam,
We have confirmed the reported issue as a defect and logged a defect report. We will fix this issue and include it in our EJ2 patch release which is scheduled for June 13, 2022.
You can track the status of the bug through the below feedback link:
Disclaimer: “Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.”
Regards,
Suriya M.
Hi Min,
Please ignore previous update.
We have confirmed the reported issue as a defect and logged a defect report. We will fix this issue and include it in our EJ2 patch release which is scheduled for July 13, 2022.
You can track the status of the bug through the below feedback link:
Disclaimer: “Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.”
Regards,
Ajithamarlin E
HI Min,
We are glad to announce that our patch release (v20.2.38) is rolled out successfully. In this release, we have added the fix for the reported issue.
Please upgrade to the latest version packages to resolve this issue.
https://www.npmjs.com/package/@syncfusion/ej2-documenteditor
https://www.npmjs.com/package/@syncfusion/ej2-react-documenteditor
Release notes: https://ej2.syncfusion.com/documentation/release-notes/20.2.38/#document-editor
Please let us know if you need any further assistance.
Regards,
Ajithamarlin E
HiAjithamarlin Edward, I just tested this today, it doesn't seem to work.
here's the version I'm working with:
here's my sample code:
Hi Min,
Please check the reported issue in below stackblitz and let us know you can replicate the issue in below link also.
https://stackblitz.com/edit/react-zxjogz?file=index.js
Regards,
Suriya M.
Hi
Suriya Murugan,
I just tested the link you gave me:
https://stackblitz.com/edit/react-zxjogz?file=index.js
and after further investigation I realized you are using
DocumentEditorContainerComponent while I was using
DocumentEditorComponent,
and I'm guessing the ability to use tab & shift+tab is not supported on the latter?
I've also tested this in your sample preview UI here in the docs:
https://ej2.syncfusion.com/react/documentation/document-editor/getting-started/
on
DocumentEditorComponent , the tab & shift+tab does not work out of the box
while it works flawlessly in
DocumentEditorContainerComponent
Can you confirm if this is the case?
Is this a bug?
Hi Min,
We will update details shortly.
Regards,
Suriya M.
Hi Min,
We are able to replicate the reported issue. Currently we are validating this and we will update further details on this by September 6,2022.
Regards,
Dhanush Sekar
Hi Min,
The tab key in the document editor component is only functional if acceptTab is enabled to true.
Please refer the below sample
https://stackblitz.com/edit/react-mvkma2?file=index.js
Code Snippet
API Documentation
https://ej2.syncfusion.com/react/documentation/api/document-editor/documentEditorModel/#accepttab
Please let us know if you need any further assistance
Regards,
Dhanush Sekar.