icflorescu / icflorescu/mantine-datatable
Feature Request: Add `rowChecked` or 'rowDisabled` property
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.3k
- Forks
- 102
- PR merge metrics
- No merged PRs in 30d
Description
In some situations, we need to display a list of items with certain entries pre-checked. For example, consider the following scenario:
A list of groups is shown in a DataTable. Groups that are already assigned to the user should appear as checked and should also be disabled.
Having properties such as rowChecked or rowDisabled that accept a list of IDs to be checked or disabled would be helpful for handling such cases.
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 row-selection API and trace how selected rows and disabled rows are represented. Check existing selection behavior and determine how ID lists for initially checked and disabled rows should be exposed; done means the requested properties work for the described group-list scenario.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100