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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With