DataTables / DataTables/RowGroup

Row group hiding

Open
#7 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
30
Forks
24
Avg merge
18h 26m
Merged PRs (30d)
1

Description

A continuation of the work in #6 which introduced hideIfAllUnique and hideIfAllSame - to complete this feature I'd like to see support for:

  1. Hiding the grouping based on the entire data set (unfiltered), which is what you had (although it didn't take into account any updates in the data)
  2. Hiding the grouping based on the filtered data set
  3. Hiding the grouping based on the current page only

For example hideIfUnique could be an array: [ 'all', 'filtered', 'page' ] for all of the above and the developer using them can selectively enable or disable the options they want.

Contributor guide

Open the contributing guide

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

Start by reading issue #6 and locating the implementation of hideIfAllUnique and hideIfAllSame in the RowGroup extension. Trace how data updates, filtering, and paging are represented, then verify that hideIfUnique can selectively apply to the all-data, filtered-data, and current-page scopes.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.