Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
9157 Vizualizări

My XML is,

<table id="pathology_table" class="table table-border table-mouseover footable">

  <thead>

  <tr>

   <th>Clinician</th>

   <th>Patient Name</th>

   <th>ID</th>

  </tr>

 </thead>

 <tbody>

  <t t-foreach="pathology_table_datas" t-as="i">

   <tr>

    <td> <t t-esc="i.clinician.name"></t> </td>

    <td> <t t-esc="i.patient_name.name"></t> </td>

    <td> <t t-esc="i.id"></t> </td>

   </tr>

  </t>

 </tbody>

</table>


above xml, how to hide the ID column, In this table id to be set into DataTable format.

I can use in invisible method but it dosn't work.

Imagine profil
Abandonează
Cel mai bun răspuns

Dear Maruthamuthu,

Try  display:none;   to make invisible

 <th style="display:none;">ID</th>
         .....
<td style="display:none;"> <t t-esc="i.id"></t> </td>



Imagine profil
Abandonează
Autor

Thank you Mr.Shameem

Related Posts Răspunsuri Vizualizări Activitate
1
sept. 18
106
1
mai 17
8464
0
feb. 25
1121
2
dec. 24
1452
0
iul. 24
1200