2 Replies Latest reply on May 28, 2018 7:47 AM by smacdonald2008

    Sightly List in 2 column table format

    anj8488

      Hi All,

       

      I am using sightly for my list element, I came up with a requirement to generate my html mokeup like,

      <table>

                <tr>

                      <td> <input type="checkbox"/> <span> name1 </span> </td>

                      <td> <input type="checkbox"/> <span> name2  </span> </td>

                  </tr>

                <tr>

                      <td> <input type="checkbox"/> <span> name3 </span> </td>

                      <td> <input type="checkbox"/> <span> name4  </span> </td>

                  </tr>

                <tr>

                      <td> <input type="checkbox"/> <span> name5 </span> </td>

                      <td> <input type="checkbox"/> <span> name6 </span> </td>

                  </tr>

      </table>

       

      so instead iterate over <li> element, I need to show result in two column,

      Is there anyway  this can be done, or If i can use javascript Use API to generate this short of dynamic html content by passing my list object.