Edit one column in a matrix table | XM Community
Skip to main content
Solved

Edit one column in a matrix table

  • June 1, 2020
  • 1 reply
  • 66 views

Hi,
I'm trying to create a matrix table with both number and text entry in the columns. I would like to make the last column have a larger text entry box than the previous two, to make it clear that this requires words, not numbers.
Anyone know how I can do this, or if there is a way to make the matrix table have constant sum in two columns, and text entry in one?
Thanks!

Best answer by rondev

Below code will make your last column text entry width wider (provided you have selected short text box size)
jQuery("#"+this.questionId+" td.last input[type='text']").css("width","100px");

1 reply

rondev
Level 6 ●●●●●●
Forum|alt.badge.img+22
  • Level 6 ●●●●●●
  • 1450 replies
  • Answer
  • June 1, 2020

Below code will make your last column text entry width wider (provided you have selected short text box size)
jQuery("#"+this.questionId+" td.last input[type='text']").css("width","100px");