Tab activates the editor only in each second column
Tab activates the editor only in each second column
Error messages shown: none
Description of problem: In one of my tables I use serverside processing because of the amount of data. I also use inline editing. When I try to use the tab key, it only activates the editor in every second column. Is this a known issue?
This question has an accepted answers - jump to answer
Answers
This example using the KeyTable extension doesn't seem to exhibit the issue you describe. Can you post a link to a test case showing the issue so we can what you have to help debug?
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin
Hi Kevin, thanks for your quick response.
Unfortunatly I can't send a test link because I don't have a test server out there at the moment. This is a little bit complicated because of the serverside processing.
I will test it without the serverside part and a reduced set of data and when the issue is still there, I will comeback with my question and a test case.
I don't think the problem is due to server side processing. The issue is happening with the client side table and server side processing is not involved with the tab process. Possibly you can post your Editor and Datatables Javascript code. Maybe we can see something obvious.
Kevin
Well, that's strange. It seems your suspicion is correct. I built a simple example based on your code:
https://live.datatables.net/guwafemu/567/edit
Tab skips every other column. Comment out
serverSide: true,
and the tabs work as expected. @allan will need to take a look to see why server side processing causes this issue.Kevin
Wow, thanks for your help!
That is certainly unexpected! I'll take a look later on today and post back.
Allan
I've identified the error in Editor and committed a fix, which will ship in the next release. That will be Editor 2.4 and hopefully isn't too far away - a few weeks perhaps.
If you need the fix before then, I can give you instructions on how to patch the Editor source?
Allan
Many many thanks. I will wait for the release.