Feb 23, 2011, 12:51 PM
[CLOSED] Locked ImageCommand Column
Hi,
I have the following ImageCommand in my GridPanel working fine, until I set the ImageCommandColumn to Locked="true" and then the handler never fires.
In the asp.net code additional columns are added which are not locked.
I have the following ImageCommand in my GridPanel working fine, until I set the ImageCommandColumn to Locked="true" and then the handler never fires.
In the asp.net code additional columns are added which are not locked.
<ext:GridPanel ID="GridPanelCoreTasks" runat="server" StoreID="StoreCoreTasks" ClicksToEdit="1"
Title="Core Tasks" Collapsible="true" Layout="Fit">
<ColumnModel>
<Columns>
<ext:ImageCommandColumn Width="24" Locked="true">
<Commands>
<ext:ImageCommand Icon="Add" CommandName="Expand">
</ext:ImageCommand>
</Commands>
</ext:ImageCommandColumn>
<ext:Column Header="Core Task" DataIndex="Label" Hideable="false" Locked="true" Width="220">
</ext:Column>
</Columns>
</ColumnModel>
<SelectionModel>
<ext:CellSelectionModel ID="CellSelectionModel1" runat="server">
</ext:CellSelectionModel>
</SelectionModel>
<Listeners>
<BeforeRender Handler="this.setHeight(100 + this.getStore().getCount() * 20)" />
<Command Handler="alert(command);" />
</Listeners>
<View>
<ext:LockingGridView runat="server">
</ext:LockingGridView>
</View>
</ext:GridPanel>
Last edited by Daniil; Mar 01, 2011 at 10:32 AM.
Reason: [CLOSED]