DataTables / DataTables/Select
Feature: Option for minimal selection
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 44
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
it would be really nice to have an option with whom one could define that there has to be one(or x) entry selected all of the time. (Maybe as a new selection mode?)
Which would mean that there would be an automatic selection when rendering the table, when there is only one row in the table this one can not be deselected and there is only one case when there is no selection... when the table is empty.
Would be very nice to have such a behavior.
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 by reviewing the Select extension's existing selection modes and table-rendering behavior. Define how a minimum selection option should behave for one row, multiple rows, deselection, and an empty table; add coverage for those cases before considering the feature complete.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100