Question T3655
Visible to All Users

Link 2 dynamic matrix

created 5 years ago

Is it possible to link 2 dynamic matrix. I want when i add new row (with add row button) in a dynamic matrix, add automatically new row in another dynamic matrix ?

Thanks

Answers approved by surveyjs Support

created 5 years ago

Hello Eric,
Sure, You should set the same valueName for these two matrices to bind them to the same data.

Thank you,
Andrew
SurveyJS Team

    Show previous comments (10)

      Thanks this work very well

        Is it possible to detect text change in specific columns of matrixdynamic to set first column value of a matrixdropdown ? What i want to do is if user enter value in row X, column 1 in a matrixdynamic, set same value in firt column row X of a matrix dropdown.

        Thanks

          Hello Eric,
          Yes, we have survey.onMatrixCellValueChanged event.
          Please create a new issue for new questions. In this case other people can benefit from your questions/our answers.

          Thank you,
          Andrew
          SurveyJS Team