Group by column transformation

Open
#14 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript
Domain
frontend

Research direction

The issue names no files, tests, or entry points. Start by locating the RowGroup grouping implementation and its tests, then clarify how a transformation should be supplied before changing the API. Done should mean grouping by transformed column values without requiring a duplicate column, with coverage for the shown example.

Written by the indexing model from the issue text.

Description

It would be great if we could group by a transformation of a column. For example if I have a column with values "[ABC] 123", "[ABC] 456", "[GEH] 678" I want to be able to group by "[ABC]" and "[GEH]".

A current workaround is to add a duplicate column with the transformed data and group by that.

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

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.

More from DataTables/RowGroup

All issues in DataTables/RowGroup

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.