salesforce / salesforce/design-system-react

DataTable Column prop truncate does not work

Open
#1,345 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

data-table
Dominant language
JavaScript
Stars
982
Forks
440
Avg merge
1d 21h
Merged PRs (30d)
4

Description

First, truncate appears to default to true. Second, the fixedLayout prop determines truncate. There should be a way to disable truncate per column.

We need to be able to enable truncate on non-fixed layout and disable it on fixed layout.

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 at the DataTable component and trace how the column truncate prop interacts with fixedLayout. Check the existing DataTable behavior and tests, if present; done means truncation can be enabled for non-fixed layouts and disabled for fixed layouts on a per-column basis.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.