DataTable: Add toggle clip and trap cell contents in header

Open
#2,943 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

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

Research direction

Start by reviewing the DataTable implementation and the resizeable-columns work referenced in issue #2936, then compare the current wrapping behavior with the attached screenshot. Define how users should toggle clipping and how header cell contents should be trapped; completion should include the corresponding behavior and validation in the relevant DataTable tests, though no test file is named here.

Written by the indexing model from the issue text.

Description

data-table stale

Currently cells are expected to wrap all contents. With the introduction of Resizeable Columns #2936, cells need the option to clip (truncate).

Screen Shot 2021-07-28 at 12 07 53 PM

Dominant language
JavaScript
Stars
994
Forks
444
Avg merge
3d 23h
Merged PRs (30d)
44

Getting set up

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 salesforce/design-system-react

All issues in salesforce/design-system-react

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.