Including detail rows in KeyTable

Including detail rows in KeyTable

slyngeslynge Posts: 1Questions: 1Answers: 0

Hi.

Is it possible to include detail rows in keyboard navigation? I have made it possible to show and hide detail row on Enter, but when showed, I can't navigate through them with the KeyTable plugin. When performing the _shift method (in the KeyTable extension), the number of rows always equals to the original amount of rows (without the detail rows). How can i force my table to believe that the detail rows are a part of the total amount of rows, after showing them?

Answers

  • allanallan Posts: 63,791Questions: 1Answers: 10,513 Site admin

    Currently not with KeyTable I'm afraid. KeyTable only provides navigation for the table's cells.

    The problem with providing navigation in the child row is that the child row's content's are not defined using any known structure (at least to DataTables core). It might be possible to mandate a specific structure that would work with KeyTable, but that isn't something I'm planning on adding at the moment.

    Allan

This discussion has been closed.