Jul 13, 2011, 5:07 AM
[CLOSED] RowExpander Plugin for Grid
How would i do this for a grid without using direct events? I can't use direct events since i'm auto loading this grid.
https://examples1.ext.net/#/GridPane...r/Remote_Mode/
I'm trying to get remove data but i'm not sure where the OnEvent, Success, and Before attributes are coming from. They do not exist in the BeforeExpand Listener.
<Plugins>
<ext:RowExpander ID="RowExpander" runat="server">
<DirectEvents>
<BeforeExpand
OnEvent="BeforeExpand"
Success="setRaw(response, result, el, type, action, extraParams);"
Before="return !record.cached;">
<EventMask ShowMask="true" MinDelay="1000" Target="CustomTarget" CustomTarget="={GridPanel1.body}" />
<ExtraParams>
<ext:Parameter Name="company" Value="record.data['company']" Mode="Raw" />
<ext:Parameter Name="id" Value="record.id" Mode="Raw" />
<ext:Parameter Name="index" Value="rowIndex" Mode="Raw" />
</ExtraParams>
</BeforeExpand>
</DirectEvents>
</ext:RowExpander>
</Plugins>
The example was taken from herehttps://examples1.ext.net/#/GridPane...r/Remote_Mode/
I'm trying to get remove data but i'm not sure where the OnEvent, Success, and Before attributes are coming from. They do not exist in the BeforeExpand Listener.
Last edited by Daniil; Jul 14, 2011 at 3:20 PM.
Reason: [CLOSED]