0

動的テーブルを作成したい。以下に示すように、starsign は動的でなければなりません。Plant name (dynamic)=DAP1,TUP1,GEP3,PSP2
Config name (dynamic)= KSROC, 100ROC Key figure name (dynamic) = Max Capacity, Free Capacity, Loading Level そしてもちろん、コードの下に記載されているrowspanでそれを持ちたい. 助けてくれてありがとう

<table class="table1">
         <thead>
             <tr>
                     <th>Config</th>
                     <th>Key Figure</th>
                     <th>*DAP1*</th>
                     <th>*TUP1*</th>
                     <th>*GEP3*</th>
                     <th>*PSP2*</th>
             </tr>
         </thead>        
             <tr>                     
                     <th rowspan="4">*KSROC*</th>                    
                     <tr>
                        <th>*Max Capacity*</th>
                        <td>*will be populated according to DAP1*</td>
                        <td>*will be populated according to TUP1*</td>
                        <td>*will be populated according to GEP3*</td>
                        <td>*will be populated according to PSP2*</td>                   
                     </tr>
                     <tr>
                        <th>*Free Capacity*</th>
                        <td>*will be populated according to DAP1*</td>
                        <td>*will be populated according to TUP1*</td>
                        <td>*will be populated according to GEP3*</td>
                        <td>*will be populated according to PSP2*</td>  
                     </tr>
                     <tr>
                        <th>*Loading Level*</th>
                        <td>*will be populated according to DAP1*</td>
                        <td>*will be populated according to TUP1*</td>
                        <td>*will be populated according to GEP3*</td>
                        <td>*will be populated according to PSP2*</td>  
                     </tr>
             </tr>             

                     <th rowspan="4" >*100ROC*</th>
                     <tr>
                        <th>*Max Capacity*</th>
                        <td>*will be populated according to DAP1*</td>
                        <td>*will be populated according to TUP1*</td>
                        <td>*will be populated according to GEP3*</td>
                        <td>*will be populated according to PSP2*</td>                   
                     </tr>
                     <tr>
                        <th>*Free Capacity*</th>
                        <td>*will be populated according to DAP1*</td>
                        <td>*will be populated according to TUP1*</td>
                        <td>*will be populated according to GEP3*</td>
                        <td>*will be populated according to PSP2*</td>  
                     </tr>
                     <tr>
                        <th>*Loading Level*</th>
                        <td>*will be populated according to DAP1*</td>
                        <td>*will be populated according to TUP1*</td>
                        <td>*will be populated according to GEP3*</td>
                        <td>*will be populated according to PSP2*</td>  
                     </tr>
             </tr>

     </table>
4

1 に答える 1