[CLOSED] Locked ImageCommand Column

  1. #1

    [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.

       <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]
  2. #2
    Hi,

    Unfortunately, commands are incompatible with LockedGridView. LockedGridView creates additional view for locked columns therefore column doesn't receive required events because it listenes original view (none locked)

    At this moment we have no fix yet
  3. #3
    OK, is there anyway to get an event fired in a locked column? I am trying to do a pseudo drill down by clicking on a button and inserting records into the store. I can't have the drill down button scrolling horizontally.

    Also, is there a reference anywhere of what is compatible with that? I mean, I keep coming up against issues with the gridpanel plugins/views which appear to be mutually exclusive. E.g., Grouped Column/locked columns, Grouping view/locked columns etc.

    Thanks,
    Paul.
  4. #4
    Hi,

    I will investigate possible fix. Please give one/two days
  5. #5
    Hi Vladimir, thank you for investigating this. It is a major requirement for our project and your help is much appreciated.
  6. #6
    Hi,

    Please update from SVN and retest

Similar Threads

  1. [CLOSED] Gropingview with locked columns almost working
    By feanor91 in forum 2.x Legacy Premium Help
    Replies: 5
    Last Post: Apr 25, 2012, 2:36 PM
  2. Replies: 8
    Last Post: Jan 13, 2012, 4:13 PM
  3. Replies: 3
    Last Post: Sep 20, 2011, 6:07 PM
  4. [CLOSED] Get the locked view from gridpanel
    By leon_tang in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Apr 06, 2011, 3:21 PM
  5. [CLOSED] Locked column and row alignment
    By Stefanaccio in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Oct 20, 2010, 12:14 PM

Posting Permissions