Feb 23, 2011, 1:47 PM
[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:
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
Last edited by Daniil; Mar 01, 2011 at 10:23 AM.
Reason: Marked as [CLOSED]. No more information was provided.