PDA

View Full Version : [CLOSED] Type 'Ext.Net.DateColumn' does not have a public property named 'HeaderItems'.



rmelancon
Jan 04, 2017, 1:15 PM
Upgrading from 2.x to 4.x, I haven't found anything in breaking changes around "HeaderItems" but appears to be broken?



<ext2:Column
Cls="filtered-column"
MinWidth="250"
ID="colName"
runat="server"
Text="Product Name:"
DataIndex="TpmModelName_vc">
<Renderer Fn="nameRenderer" />
<HeaderItems>
<ext2:TextField ID="FilterTpmModelName_vc" runat="server">
<Listeners>
<Change Handler="applyFilter(this);" Buffer="250" />
</Listeners>
<Plugins>
<ext2:ClearButton runat="server" />
</Plugins>
</ext2:TextField>
</HeaderItems>
</ext2:Column>

fabricio.murta
Jan 04, 2017, 4:00 PM
Hello @rmelancon!

Seems the breaking changes list for 3.x is missing! But you were not the first to have this question and at some point it were alright.

Well, this change was introduced in 3.x and Raphael Saldanha even quoted the entry pointing this breaking change in this forum thread:
- HeaderItems for CommandColumn not defined anymore (http://forums.ext.net/showthread.php?50661).

In short, use Items instead of HeaderItems.

Hope this helps.

rmelancon
Jan 04, 2017, 4:21 PM
Thanks for the quick reply. That fixed it.

fabricio.murta
Jan 04, 2017, 11:27 PM
Glad it helped, thanks for the feedback!