DataTables / DataTables/Responsive

Question about sorting DataTables while using Responsive plugin

Open
#136 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
151
Forks
91
PR merge metrics
No merged PRs in 30d

Description

Not an issue but a question. When responsive plugin is used and DataTable has sorting columns activated, the columns that are collapsed to the child rows cannot be clicked on to re-sort the data table by those columns. Any suggestions on how to deal with this? The idea is to give the users access to sort by all columns and not only by the un-collapsed columns they see when responsive layout is activated by the user (either by zooming in or using mobile browsers). I was thinking that maybe have a dropdown box before DataTable with search options that list all of the columns that can be used for sorting, but not sure if that would be possible to do or not?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named in the question. First identify where the Responsive plugin handles collapsed columns and how DataTables sorting is exposed; done should provide users a defined way to sort by every column, including columns shown only in child rows.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.