[Docs]: Clarify Table selectedRowIndex vs triggeredRowIndex after filter/search
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 88/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- markdown
- Domain
- documentation
Research direction
Open the Table widget reference at https://docs.appsmith.com/reference/widgets/table and find the blurbs for selectedRowIndex, selectedRowIndices, and triggeredRowIndex. Clarify which dataset each property indexes, using the proposed wording in the issue. The work is done when all three blurbs explain the relevant dataset and triggeredRowIndex specifies that its index is before search, filter, or sort.
Written by the indexing model from the issue text.
Description
Problem Statement
The Table widget reference does not say which dataset each row-index property refers to. After client-side search/filter/sort, triggeredRowIndex (original tableData) and selectedRowIndex / selectedRowIndices (filteredTableData) can disagree. Users reasonably treat them as the same kind of index.
Use Cases / User query reference
Pylon ticket: https://app.usepylon.com/issues?issueNumber=3401
Customer used setSelectedRowIndices([Table1.triggeredRowIndex]) so a row-button path could reuse selectedRows for a review table. That breaks after search because selection indexes are filtered positions while triggeredRowIndex is the original tableData index.
Proposed Changes
On https://docs.appsmith.com/reference/widgets/table, update the reference property blurbs:
selectedRowIndex— Index of the selected row infilteredTableData.selectedRowIndices— Indexes of the selected rows infilteredTableData.triggeredRowIndex— Index of the triggered row intableData(before search, filter, or sort).
Checklist
- Reviewed existing documentation to ensure this request is not duplicated.
- Attached relevant media or supporting materials like links to the PRD, feature recordings, Slack or Discord links, and any other relevant resources.
- Dominant language
- MDX
- Stars
- 98
- Forks
- 308
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 18
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing 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.
More from appsmithorg/appsmith-docs
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
appsmithorg/appsmith-docs#3064 · 5 comments ·
Maintainers usually reply within 1 day
-
Document List V2 Disable selection property (APP-15942)May be free again @amelia-c0n claimed this 31 days ago, and no pull request is open. Open
appsmithorg/appsmith-docs#3055 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
[Docs]: Rich Text Editor toolbar overviewMay be free again @amelia-c0n claimed this 31 days ago, and no pull request is open. OpenDocumentation
appsmithorg/appsmith-docs#3053 · 1 assignee ·
Maintainers usually reply within 1 day
-
[Docs]: Example docker-compose file causes git timeouts on WindowsMay be free again @Nikhil-Nandagopal claimed this 103 days ago, and no pull request is open. OpenDocumentation User Education Pod
appsmithorg/appsmith-docs#3026 · 1 assignee ·
Maintainers usually reply within 1 day
-
[Docs]: Misleading logic in "Use Appsmith store" example (fetch_name)Possibly taken @Nikhil-Nandagopal claimed this 333 days ago. OpenDocumentation User Education Pod
appsmithorg/appsmith-docs#2972 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
All issues in appsmithorg/appsmith-docs
Similar issues
-
bug: ARCHITECTURE.md states three different workflow counts (88 / 69 / 69) and no test pins themOpenarea:docs area:workflow bug documentation priority:later
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Ikalus1988/MisakaNet#4357 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
aws-samples/sample-per-model-bedrock#708 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
voidzero-dev/void#677 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ocaml-multicore/eio#962 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
microsoft/ML-For-Beginners#1061 ·