Make Group Titles in a Likert Matrix Table wrap | Experience Community
Skip to main content
Solved

Make Group Titles in a Likert Matrix Table wrap

  • Jan 28, 2022 8:22 PM UTC
  • 2 replies
  • 227 views

MikeW
Level 5 ●●●●●
Forum|alt.badge.img+14
  • Level 5 ●●●●●

Is there a way to make Group Titles in a Likert Matrix Table wrap in the same way that the statements do?
image.png



Best answer by Rudi

Hi Mike

this code set the group header text in one column of the table. Should also set align other group headers in the matrix
Qualtrics.SurveyEngine.addOnload(function()
{
let groupheaders = document.getElementsByClassName("Group")
console.log(groupheaders)

for(let i=0;i groupheaders[i].colSpan="1"
}
});

Best regards

Rudi

View original

2 replies

Rudi
QPN Level 3 ●●●
Forum|alt.badge.img+16
  • QPN Level 3 ●●●
  • Answer
  • Feb 1, 2022 5:38 PM UTC

Hi Mike

this code set the group header text in one column of the table. Should also set align other group headers in the matrix
Qualtrics.SurveyEngine.addOnload(function()
{
let groupheaders = document.getElementsByClassName("Group")
console.log(groupheaders)

for(let i=0;i groupheaders[i].colSpan="1"
}
});

Best regards

Rudi


MikeW
Level 5 ●●●●●
Forum|alt.badge.img+14
  • Author
  • Level 5 ●●●●●
  • Feb 1, 2022 6:09 PM UTC

Brilliant! Thanks Rudi