Not able to align Parsys in Table Component
I am creating a table component with the help of rowitem component and not using the cq table component. This table component have header row and footer row included and a parsys sandwiched between them.
Like this
<table>
<caption>RTE</caption>
<tbody>
<cq:include path="rowitem" resourceType="dmp/components/foundation/rowitem"/>
<cq:include path="tablePar" resourceType="foundation/components/parsys"/>
<cq:include path="rowitem_0" resourceType="dmp/components/foundation/rowitem"/>
</tbody>
</table>
On dropping this table component, I got a header and footer row. and a parsys to include rows. Now the problem is the positioning of parsys. It appears above my table component and not between the header and footer row.
CQ generates the table markup beneath the parsys. Is there a way I can align this parsys in between the header and footer row. It doesnt look good while editing, and even steals the capability of editing.