1 Reply Latest reply on Oct 15, 2012 8:09 PM by Sham HC

    RE: tableedit2 plugin doesn't allow thead

    sarwarbhuiyan

      I've noticed something strange about the Table Component, specifically the tableedit2 widget.  It does not create a thead with <tr> and <th> but rather puts <th> elements in a row of tbody.  Even if I put some initial content into a table component manually using crx, when I open and press ok on the dialog, the HTML saved has removed the thead element and put the row that was there in the tbody.  What is the reasoning behind this behaviour?  Is this a bug or a feature?  Is there a way to change this by overriding the TableEdit2.js somehow?  I can't figure out which function or listener to change.  My suspicion is that it is deeper in the TablePlugin or TableMatrix definitions.

       

      Any pointers would be greatly appreciated.


      Sarwar