Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Matrix in Expressions - Access the previous row value from expressions #9154

Open
JaneSjs opened this issue Dec 10, 2024 · 0 comments
Open
Assignees
Labels
enhancement user issue An issue or bug reported by users v2.0+

Comments

@JaneSjs
Copy link
Contributor

JaneSjs commented Dec 10, 2024

T21052 - rowIndex cannot be passed to get matrix row value
https://surveyjs.answerdesk.io/internal/ticket/details/T21052

I might be necessary to access the value of a previous matrix row in expressions. For instance, to copy the previous row value to the current row. However, the {matrixName[{rowIndex} - 1].colName} expression doesn't work and it is necessary to create a custom function to handle this task.

@JaneSjs JaneSjs added enhancement user issue An issue or bug reported by users labels Dec 10, 2024
@andrewtelnov andrewtelnov self-assigned this Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement user issue An issue or bug reported by users v2.0+
Projects
None yet
Development

No branches or pull requests

2 participants