Mar 18, 2010, 5:04 PM
[CLOSED] Drop target area not becoming active
Hi
When I drag and item over the drop target the icon does not change like in the example. Netither does the drop work
When I drag and item over the drop target the icon does not change like in the example. Netither does the drop work
<ext:TabPanel ID="TabPanelReassign" runat ="server" LayoutOnTabChange="true">
<Listeners>
<Show Handler="#{TabPanelReassign}.doLayout();" Delay="300" Single="true"/>
</Listeners>
<Items>
<ext:Panel ID="TabNotifications" Title="Notifications" runat="server" Height="250" Layout="Fit">
<Items>
<ext:ColumnLayout runat="server" ID="ColumnLayout">
<Columns>
<ext:LayoutColumn ColumnWidth="0.47">
<ext:Panel ID="Panel4" runat="server" Layout="Fit" Width="200" Height="250">
<Items>
<ext:GridPanel ID="GridPanel2" runat="server" StoreID="StoreNotificationUsers" DDGroup="secondGridDDGroup" EnableDragDrop="true" >
<ColumnModel runat="server" ID="GridPanelAllUsers">
<Columns>
<ext:Column DataIndex="Username"></ext:Column>
</Columns>
</ColumnModel>
<SelectionModel>
<ext:RowSelectionModel ID="RowSelectionModel1" runat="server" />
</SelectionModel>
</ext:GridPanel>
</Items>
</ext:Panel>
</ext:LayoutColumn>
<ext:LayoutColumn ColumnWidth="0.06">
<ext:Panel runat="server" ID="PanelAddRemoveButtons">
<Defaults>
<ext:Parameter Name="margins" Value="0 5 0 0" Mode="Value" />
</Defaults>
<Items>
<ext:VBoxLayout ID="VBoxLayout1" Align="Center" runat="server" Pack="Center" Padding="5">
<BoxItems>
<ext:BoxItem>
<ext:Button ID="BtnAddNotificationUser" runat="server" Text=">" Width="25" ></ext:Button>
</ext:BoxItem>
<ext:BoxItem>
<ext:Button ID="BtnAddAllNotificationUser" runat="server" Text=">>" Width="25"></ext:Button>
</ext:BoxItem>
<ext:BoxItem>
<ext:Button ID="BtnRemoveNotificationUser" runat="server" Text="<" Width="25"></ext:Button>
</ext:BoxItem>
<ext:BoxItem>
<ext:Button ID="BtnRemoveAllNotificationUser" runat="server" Text="<<" Width="25"></ext:Button>
</ext:BoxItem>
</BoxItems>
</ext:VBoxLayout>
</Items>
</ext:Panel>
</ext:LayoutColumn>
<ext:LayoutColumn ColumnWidth="0.47">
<ext:Panel ID="Panel3" runat="server" Layout="Fit">
<Items>
<ext:GridPanel ID="GridPanel1" runat="server" StoreID="StoreUsersToNotify" DDGroup="firstGridDDGroup" EnableDragDrop="true">
<ColumnModel runat="server" ID="ColumnModel1">
<Columns>
<ext:Column DataIndex="Username"></ext:Column>
</Columns>
</ColumnModel>
<SelectionModel>
<ext:RowSelectionModel ID="RowSelectionModel2" runat="server" />
</SelectionModel>
</ext:GridPanel>
</Items>
</ext:Panel>
</ext:LayoutColumn>
</Columns>
</ext:ColumnLayout>
</Items>
</ext:Panel>
</Items>
</ext:TabPanel>
<ext:DropTarget ID="DropTarget1" runat="server" Target="={TabPanelReassign.TabNotifications.GridPanel2.view.scroller.dom}" Group="firstGridDDGroup">
<NotifyDrop Fn="notifyDrop1" />
</ext:DropTarget>
<ext:DropTarget ID="DropTarget2" runat="server" Target="={TabPanelReassign.TabNotifications.GridPanel1.view.scroller.dom}" Group="secondGridDDGroup">
<NotifyDrop Fn="notifyDrop2" />
</ext:DropTarget>