PDA

View Full Version : HTML table with TableLayout



tomtom-
16 Nov 2009, 3:07 AM
Hi all,

I'm trying to create a Component which match an HTML table :



var myTable = new Ext.Container({
autoEl: 'table',
layout: 'table'
});
But it duplicate the table tag like that :



<table id="ext-comp-1003" class=" x-table-layout-ct"><table cellspacing="0" class="x-table-layout"><tbody/></table></table>
Moreover, if I don't specify
autoEl: 'table',, it creates a div tag but I don't want any div, just a table.

Does anyone know how I can do to get a correct table tag ?

Thanks,
Tom

Animal
16 Nov 2009, 3:23 AM
http://www.extjs.com/forum/showthread.php?t=83252

tomtom-
16 Nov 2009, 7:18 AM
Hi Animal,

Really good thank you :)