Examples of KeyTable Being Used With RowGroup Extension
Examples of KeyTable Being Used With RowGroup Extension
ukhan
Posts: 3Questions: 1Answers: 0
I'm looking for examples of KeyTable extension being used with the RowGroup extension.
Currently running into an issue where tabbing into the table puts the focus on the wrong row, even when _focus
is provided dt.cell(0,0)
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Little example of them working together: http://live.datatables.net/popahavu/1/edit .
Does that demonstrate the issue at all? It appears to be working okay as far as I can see.
Allan
Thanks for the example.
It doesn't have the same issue as what I'm having. I'm assuming it's because I'm also currently using the 'Select' plugin, and have a column that's hidden manually. Will troubleshoot further.
I'm trying to make my table accessible for users. In your example, the focus goes from the search input, straight to the first data cell in the table. Is there a way to get it to focus each column heading, then the first row group title, before finally going into the data? This would be helpful for users who are using screen readers so that they know what data they are dealing with.
Thanks again!
That's a bug I fear. KeyTable inserts a focus element that is almost completely hidden, but enough to gain focus, before the table. When it gains focus, KeyTable leaps into action (it is done this way to make the KeyTable focus flow as a natural part of the document).
I don't actually know how to address that at the moment. I'll have a think about it.
No - KeyTable will only focus on the cells in the main table, not the inserted grouping rows.
Thanks