salesforce / salesforce/design-system-react
DataTable Column prop truncate does not work
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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