- Posts: 33
- Thank you received: 1
Ask the community, share ideas, and connect with other LimeSurvey users!
Please Log in to join the conversation.
Please Log in to join the conversation.
is not a clear description of your issue.but it was not successful.
Please Log in to join the conversation.
Please Log in to join the conversation.
<script type="text/javascript" charset="utf-8"> $(document).on('ready pjax:scriptcomplete',function(){ // Identify this question var thisQuestion = $('#question{QID}'); // Add a question class thisQuestion.addClass('custom-array'); // Column-specific classes $('table.subquestion-list tr', thisQuestion).each(function(i) { $('th, td', this).each(function(i) { $(this).addClass('column-'+i); }); }); }); </script>
<style type="text/css">table.subquestion-list col { width: auto !important; } .custom-array table.subquestion-list thead .column-0 { width: 22%; } .custom-array table.subquestion-list thead .column-1 { width: 12%; } .custom-array table.subquestion-list thead .column-2 { width: 6%; } .custom-array table.subquestion-list thead .column-3 { width: 6%; } .custom-array table.subquestion-list thead .column-4 { width: 6%; } .custom-array table.subquestion-list thead .column-5 { width: 6%; } .custom-array table.subquestion-list thead .column-6 { width: 6%; } .custom-array table.subquestion-list thead .column-7 { width: 6%; } .custom-array table.subquestion-list thead .column-8 { width: 6%; } .custom-array table.subquestion-list thead .column-9 { width: 6%; } .custom-array table.subquestion-list thead .column-10 { width: 6%; } .custom-array table.subquestion-list thead .column-11 { width: 12%; } </style>
Please Log in to join the conversation.
Please Log in to join the conversation.