Hi how to change the width of the row and column of the matrix.

  • mbas123
    Asked on April 30, 2015 at 4:46 AM

    Hi

    I want to change the width of the row and column of the matrix.

    Hi how to change the width of the row and column of the matrix Screenshot 20

     

    Thanks

    Rey Galvez

  • Ashwin JotForm Support
    Replied on April 30, 2015 at 9:20 AM

    Hello Rey,

    You will have to inject custom css code in your form to increase the width of the columns. Actually before you increase the width of the columns, we need to increase the width of the matrix table which can be done by injecting the following custom css code:

    table.form-matrix-table {

       max-width: 600px;

    }

    After the table width is increase, we need to add custom css code to increase the width of every column to desired width which can be done by injecting the following custom css code:

    /* Form Column 1 */

    th.form-matrix-column-headers.form-matrix-column_0 {

      width: 101px !important;

    }

     

    /* Form Column 2 */

    th.form-matrix-column-headers.form-matrix-column_1 {

      width: 101px !important;

    }

     

    /* Form Column 3 */

    th.form-matrix-column-headers.form-matrix-column_2 {

      width: 101px !important;

    }

     

    /* Form Column 4 */

    th.form-matrix-column-headers.form-matrix-column_3 {

      width: 101px !important;

    }

     

    /* Form Column 5 */

    th.form-matrix-column-headers.form-matrix-column_4 {

      width: 101px !important;

    }

     

    The following guide should help you how to inject custom css code in form:  http://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes 

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!