Hello! I Have a problem with Ext.view.View
snapshot of my desktop
IMG_17052013_175558.jpg
In my page i use a dataview with XTemplate. After, i updated my dataview and my table from template is duplicated. My code:
{
xtype: 'dataview',
tpl: new Ext.XTemplate(
'<table>',
'<thead>',
'<tr>',
'<th>Name</th>',
'<th>Date</th>,
'</thead>',
'<tbody>',
'<tpl for=".">',
'<tr>','<td>{name}</td>',
'<td>{date}</td>',
'</tpl>',
'<tbody>',
'</table>'),
itemSelector:'td'
}
What is the problem of duplication . After update dataview is creating two tables. One with values, second - empty.
I have a problem with dataview who contains the data.
Section, which doesn't exists in tpl is duplicated! In this instance - test. Maybe it's a bug of Extjs?