0 Replies Latest reply: Sep 17, 2013 7:28 AM by AManjulaDevi RSS

    Split the table data in vertical using HTML input file

    AManjulaDevi

      Hi,

       

      We are creating RTF template using HTML input, we need to partitioning the table in 2 sides like below:

       

      Electrical
      Unit Voltage T1 Circuit 1Circuit 2
      Circuit 1Circuit 2ContactorsT6T7
      Sensor Operation T2T3Actuators/Linkages T8T9
      Electrical ConnectionsT4T5DampersT10T11

       

      Sample HTML code:

       

      <div id="div1Electrical" style="display:none;">

                  <table border="1" bordercolor="#eeeeee">

                      <tbody><tr align="left" style="border: thin none #FFFFFF;">

                          <td align="left" colspan="2">

                              <span>

                                  Electrical</span>

                          </td>

                      </tr>

                      <tr>

                          <td>

                              <td>

                                  <tbody><tr>

                                      <td>

                                          <label>

                                              Unit Voltage</label>

                                      </td>

                                      <td>

                                      </td>

                                      <td>

                                          <select id="Select24" name="Unit Voltage" dictionaryname="UnitVoltage" value="--None--"></select>

                                      </td>

                                  </tr>

                                  <tr>

                                      <th>

                                      </th>

                                      <th>

                                          Circuit 1

                                      </th>

                                      <th>

                                          Circuit 2

                                      </th>

                                  </tr>

                                  <tr>

                                      <td>

                                          <label>

                                              Sensor Operation</label>

                                      </td>

                                      <td>

                                          <select id="Select25" name="Sensor Operation Circuit1" dictionaryname="SensorOperationCondition" value="--None--"></select>

                                      </td>

                                      <td>

                                          <select id="Select26" name="Sensor Operation Circuit2" dictionaryname="SensorOperationCondition" value="--None--"></select>

                                      </td>

                                  </tr>

                                  <tr>

                                      <td>

                                          <label>

                                              Electrical Connections</label>

                                      </td>

                                      <td>

                                          <select id="Select27" name="Electrical Connections Circuit1" dictionaryname="ElectricalConnectionCondition" value="--None--"></select>

                                      </td>

                                      <td>

                                          <select id="Select28" name="Electrical Connections Circuit2" dictionaryname="ElectricalConnectionCondition" value="--None--"></select>

                                      </td>

                                  </tr>

                              </tbody></td>

                          </td>

                          <td>

                              <td>

                                  <thead>

                                      <tr>

                                          <th>

                                          </th>

                                          <th>

                                              Circuit 1

                                          </th>

                                          <th>

                                              Circuit 2

                                          </th>

                                      </tr>

                                  </thead>

                                  <tbody><tr>

                                      <td>

                                          <label>

                                              Contactors</label>

                                      </td>

                                      <td>

                                          <select id="Select29" name="Contactors Circuit1" dictionaryname="OkSeeComments" value="--None--"></select>

                                      </td>

                                      <td>

                                          <select id="Select30" name="Contactors Circuit2" dictionaryname="OkSeeComments" value="--None--"></select>

                                      </td>

                                  </tr>

                                  <tr>

                                      <td>

                                          <label>

                                              Actuators/Linkages</label>

                                      </td>

                                      <td>

                                          <select id="Select20" name="Actuators/Linkages Circuit1" dictionaryname="AdjustmentAction" value="--None--"></select>

                                      </td>

                                      <td>

                                          <select id="Select21" name="Actuators/Linkages Circuit2" dictionaryname="AdjustmentAction" value="--None--"></select>

                                      </td>

                                  </tr>

                                  <tr>

                                      <td>

                                          <label>

                                              Dampers</label>

                                      </td>

                                      <td>

                                          <select id="Select22" name="Dampers Circuit1" dictionaryname="AdjustmentAction" value="--None--"></select>

                                      </td>

                                      <td>

                                          <select id="Select23" name="Dampers Circuit2" dictionaryname="AdjustmentAction" value="--None--"></select>

                                      </td>

                                  </tr>

                              </tbody></td>

                          </td>

                      </tr>

                  </tbody></table>

              </div>