Sep 29, 2010, 5:02 PM
Conditional RowExpander on GridPanel
Hello,
is this possible!?
If I have:
<Plugins>
<ext:RowExpander ID="RowExpander" runat="server" >
<Component>
<ext:FormPanel ID="RowEditor1" runat="server" Padding="6" Height="180" Border="false"
Layout="form" ForceLayout="true" ButtonAlign="Right" Cls="white-footer">
<Items>
<ext:DisplayField runat="server" Text="Child tree..."></ext:DisplayField>
</ext:FormPanel>
</Component>
<Listeners>
<Expand Handler="#{RowEditor1}.record = record; #{RowEditor1}.getForm().loadRecord(record);" />
</Listeners>
</ext:RowExpander>
</Plugins>
That means I would have expander for EACH ROW!? Can I have it hidden and disabled for the rows that do not have child data?
Thanks.
//D.
is this possible!?
If I have:
<Plugins>
<ext:RowExpander ID="RowExpander" runat="server" >
<Component>
<ext:FormPanel ID="RowEditor1" runat="server" Padding="6" Height="180" Border="false"
Layout="form" ForceLayout="true" ButtonAlign="Right" Cls="white-footer">
<Items>
<ext:DisplayField runat="server" Text="Child tree..."></ext:DisplayField>
</ext:FormPanel>
</Component>
<Listeners>
<Expand Handler="#{RowEditor1}.record = record; #{RowEditor1}.getForm().loadRecord(record);" />
</Listeners>
</ext:RowExpander>
</Plugins>
That means I would have expander for EACH ROW!? Can I have it hidden and disabled for the rows that do not have child data?
Thanks.
//D.