Survey-library: How could I display all questions with answers in a table?

Created on 3 Jan 2020  路  4Comments  路  Source: surveyjs/survey-library

Since there are so many question pages, and survey.mode = 'display' is showing answer in "Survey Mode".
I wanna show the questions with answers in a table not in "Survey Mode" just like the table after test survey completed.

How could I do this ?
Thanks. :)

question

Most helpful comment

@andrewtelnov
I tried survey.getPlainData(). It may help me get the answers, but may not include some question details like sub-question titles.
Could I use some "Component" just like to display the answer with question in an easier way?

Thank you. :)

All 4 comments

@CoolBerry You may use survey.getPlainData() function. We use it in our SurveyJS Creator to show the data in the table view.

Thank you,
Andrew

@andrewtelnov
I tried survey.getPlainData(). It may help me get the answers, but may not include some question details like sub-question titles.
Could I use some "Component" just like to display the answer with question in an easier way?

Thank you. :)

Guys as you see, the creator can show all results in a table. Is there a way to show them like this style in the Tabulator?

image
image
image

@andrewtelnov
Is there any way that if I am having my surveyJS response in the form of plain data (using survey.getPlainData()) and I can show it directly in the tabular form as shown on creator website (As Table) on my web page.

Was this page helpful?
0 / 5 - 0 ratings