Jul 27, 2009, 11:56 AM
ext:Label in FormLayout
Hi!
It is possible to put Label in FormPanel?
I'd like to show non editable information - my piece of code:
<ext:FormPanel ID="FormPanel1" runat="server" Title="title"
StyleSpec="padding-left:16px;padding-top:16px;" MonitorPoll="500" MonitorValid="true"
Width="1024" BodyStyle="padding:5px;" ButtonAlign="Right">
<Body>
<ext:ColumnLayout ID="ColumnLayout1" runat="server">
<ext:LayoutColumn ColumnWidth=".5">
<ext:Panel ID="Panel1" runat="server" Border="false">
<Body>
<ext:ContainerLayout ID="ContainerLayout1" runat="server">
* <ext:Panel runat="server" Title="Data" Border="false" Frame="true" Header="true"
FormGroup="true">
<Defaults>
<ext:Parameter Name="MsgTarget" Value="side" />
</Defaults>
<Body>
<ext:FormLayout runat="server" LabelAlign="Left" LabelCls="form-label" LabelWidth="160">
<ext:Anchor Horizontal="92%">
* <ext:Label ID="labelKind" runat="server" FieldLabel="Kind" />
* *
</ext:Anchor>
but js error occured - label doesn't have isValid method...Regards
Mrozik