Reputation: 13308
I can't seem to set the position of an Ext.NET GridPanel inside an Ext.NET window and I wonder why?
<ext:Window ID="Window1" runat="server" StripeRows="true" Width="900" Height="700"
Closable="false" Collapsible="true" Maximizable="true" Layout="Fit"
X="0" Y="0"
CenterOnLoad="false">
<Items>
<ext:GridPanel ID="customersGrid" runat="server" />
//.....................
When I change X and Y it doesn't take effect.
Upvotes: 3
Views: 730
Reputation: 2385
If you want the GridPanel to be absolutely positioned somewhere inside the Window, you'll have to set Layout="Absolute" on the <ext:Window>
, and set the .X and .Y properties of the <ext:GridPanel>
.
Hope this helps.
Upvotes: 2