PDA

View Full Version : [CLOSED] GridPanel header group text oddity



rthiney
Dec 11, 2013, 3:02 PM
If I put header text as a date: 9/30/12

It renders as: Sun Sept 30 2012



<%@ Page Language="C#" %>

<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Ext.NET Example</title>



</head>
<body>
<form runat="server">
<ext:ResourceManager runat="server">


</ext:ResourceManager>

<ext:GridPanel runat="server">
<ColumnModel>
<Columns>
<ext:Column runat="server" Text="3 Months Ended">
<Columns>
<ext:Column runat="server" DataIndex="TMEStart" Header="9/30/2012" ColumnID="TMEStart" Width="75" Align="Right">

</ext:Column>
<ext:Column runat="server" DataIndex="TMEEnd" Header="9/30/2011" ColumnID="TMEEnd" Width="75" Align="Right">

</ext:Column>
</Columns>


</ext:Column>
</Columns>
</ColumnModel>
</ext:GridPanel>




</form>
</body>
</html>

Baidaly
Dec 11, 2013, 10:21 PM
Hello!

Sorry, couldn't reproduce. Everything looks fine, tried in Firefox, IE10 and Chrome:

7358

rthiney
Dec 13, 2013, 7:01 PM
Hello!

Sorry, couldn't reproduce. Everything looks fine, tried in Firefox, IE10 and Chrome:

7358


What about IE 11?
Also, what version of Chome?
See attached, doesn't work in Chrome for me..
7367

Vladimir
Dec 13, 2013, 7:12 PM
There is no Header property, yuo have to use Text

rthiney
Dec 13, 2013, 7:22 PM
There is no Header property, yuo have to use Text

Thanks Vlad...works.