[CLOSED] Locking Grid with RowExpander plugin

  1. #1

    [CLOSED] Locking Grid with RowExpander plugin

    Hi:

    I have a gridpanel with RowExpander plugin. It works fine all the time but when I lock one columns. the layout of grid is broken (please see the picture 1) and the lock columns's row will not expand as unlock columns (see the picture 2)

    The ASPX page:
    <ext:GridPanel ID="GridPanel4" runat="server" StoreID="StoreCoreTaskPlan"
            ColumnLines="true" Collapsed="true" AutoExpandColumn="TaskName"
            ClicksToEdit="1" Title="Core Tasks Workload"  Collapsible="true" AnchorHorizontal="100%"
            Layout="Fit" HideHeaders="false" AutoScroll="true">
            <TopBar>
                <ext:Toolbar>
                    <Items>
                        <ext:Button ID="Button12" runat="server" Text="Set default" Icon="BookmarkGo"></ext:Button>
                    </Items>
                </ext:Toolbar>
            </TopBar>
            <ColumnModel ID="ColumnModel7" runat="server">
                <Columns>
                      <ext:Column ColumnID="TaskName" DataIndex="TaskName" Header="Task" Width="200" Locked="false"/>
                    <ext:NumberColumn ColumnID="G1" DataIndex="G10" Header="3 Dec" Align="Right" Format="0,000" Css="background-color: #fffed9;">
                    </ext:NumberColumn>
                    <ext:NumberColumn ColumnID="G2" DataIndex="G20" Header="4 Dec" Align="Right" Format="0,000" Css="background-color: #fffed9;">
                    </ext:NumberColumn>
                    <ext:NumberColumn ColumnID="G3" DataIndex="G30" Header="5 Dec" Align="Right" Format="0,000" Css="background-color: #fffed9;">
                    </ext:NumberColumn>
                    <ext:NumberColumn ColumnID="G4" DataIndex="G40" Header="6 Dec" Align="Right" Format="0,000" Css="background-color: #fffed9;">
                    </ext:NumberColumn>
                    <ext:NumberColumn ColumnID="G5" DataIndex="G50" Header="7 Dec" Align="Right" Format="0,000" Css="background-color: #fffed9;">
                    </ext:NumberColumn>
                    <ext:NumberColumn ColumnID="G6" DataIndex="G60" Header="8 Dec" Align="Right" Format="0,000" Css="background-color: #fffed9;">
                    </ext:NumberColumn>
                    <ext:NumberColumn ColumnID="G7" DataIndex="G70" Header="9 Dec" Align="Right" Format="0,000" Css="background-color: #fffed9;">
                    </ext:NumberColumn>
                    <ext:NumberColumn ColumnID="G8" DataIndex="G80" Header="Total" Align="Right" Format="0,000" Css="background-color: #fffed9;">
                    </ext:NumberColumn>
                </Columns>
            </ColumnModel>
            <View>
                <ext:LockingGridView ID="LockingGridView6" runat="server"/>
            </View>
            <SelectionModel>
                <ext:RowSelectionModel ID="RowSelectionModel7" runat="server" />
            </SelectionModel>
            <Plugins>
                <ext:RowExpander ID="RowExpander2" runat="server" EnableCaching="true" Visible="true">
                    <Template ID="Template2" runat="server">
                        <Html>
                            <div id="row-{Id}" style="background-color:White;"></div>
                        </Html>
                    </Template>
                    <DirectEvents>
                        <BeforeExpand 
                            OnEvent="BeforeExpand" 
                            Before="return !body.rendered;" 
                            Success="body.rendered=true;">
                            <EventMask ShowMask="true" Target="CustomTarget" CustomTarget="={GridPanel1.body}" />
                            <ExtraParams>
                                <ext:Parameter Name="id" Value="record.id" Mode="Raw" />
                            </ExtraParams>
                        </BeforeExpand>
                    </DirectEvents>
                </ext:RowExpander>
            </Plugins>
    </ext:GridPanel>
    Picture 1
    Attached Thumbnails Click image for larger version. 

Name:	Pic-1.jpg 
Views:	113 
Size:	62.5 KB 
ID:	2347   Click image for larger version. 

Name:	Pic-2.jpg 
Views:	97 
Size:	78.3 KB 
ID:	2348  
    Last edited by Daniil; Mar 01, 2011 at 10:23 AM. Reason: Marked as [CLOSED]. No more information was provided.
  2. #2
    Hi,

    Please provide a full (but simplified) sample to reproduce the issue.

Similar Threads

  1. [CLOSED] Automatically row expand using RowExpander plugin
    By speedstepmem4 in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jan 21, 2012, 8:37 AM
  2. [CLOSED] RowExpander Plugin for Grid
    By craig2005 in forum 1.x Legacy Premium Help
    Replies: 16
    Last Post: Jul 14, 2011, 2:48 PM
  3. [CLOSED] GridView GetRowClass: not working with RowExpander plugin
    By capecod in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Nov 05, 2010, 1:44 PM
  4. Replies: 1
    Last Post: Mar 09, 2010, 2:57 PM
  5. [CLOSED] GridPanel RowExpander Plugin
    By Timothy in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Sep 12, 2008, 7:10 PM

Posting Permissions