Have an idea?

Visit Sawtooth Software Feedback to share your ideas on how we can improve our products.

Row/column Label Position in Grid Questions

Hello,

I have a grid question but i want Row Labels appears in center my survey.
Also want Column label 1 appears to be left column 2 label appears  right. Just like maxdiff. but will not use maxdiff analysis after the survey will be completed.

Please help me this situation.

Thank you all.
asked Nov 5, 2018 by levocan89 (200 points)
You effectively want to swap the first and second columns of a grid question?
Hi Zachary ,

Thats what i want. Only appear just like maxdiff.  I need to use html codes i think but not know much:(

Thanks.

1 Answer

0 votes
Add this to your grid question:

<style>
#[% QuestionName() %]_div .row_label_cell {
    text-align: center;
}
</style>


<script>
$(document).ready(function(){
    $('#[% QuestionName() %]_div .inner_table > tbody > tr').each(function(){
        $(this).prepend($(this).children(':nth-child(2)'));
    });
})
</script>
answered Nov 5, 2018 by Zachary Platinum Sawtooth Software, Inc. (120,175 points)
...