mui / mui/material-ui

[material-ui][docs][Table] Clarify that all native HTML attributes that are supported

Open
#31,207 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

docs scope: table
Dominant language
JavaScript
Stars
99.1k
Forks
32.5k
Avg merge
2d 17h
Merged PRs (30d)
106

Description

Duplicates
  • I have searched the existing issues
Latest version
  • I have tested the latest version
Current behavior 😯

I simply wanted to span a TableCell to 2 columns.

  • I went to the official mui TableCell documentation, ie. https://mui.com/api/table-cell/
  • Searched for options to do that in the props, and did not find anything.
  • I tried to do it manually, and somehow decided to check on google, and found that There is a colSpan prop for that. And used it.

This is frustrating, since the documentation of mui doesn't all the list of props we can use. And Hence we have to search around for everything. This makes it hard to learn and work with.

Expected behavior 🤔
  • I go to the official mui TableCell documentation, ie. https://mui.com/api/table-cell/
  • Search for props that allow to span columns
  • Find it in the prop section and use it

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 TableCell API documentation linked in the issue and inspect how its props are presented. Clarify the native HTML attributes supported by TableCell, including colSpan, so users can find column-spanning options in the prop section. Done means the documentation makes these supported attributes discoverable.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.