[CLOSED] How to call the plug-in command event

  1. #1

    [CLOSED] How to call the plug-in command event

    I have a gridpanel plugin is as follows:
    <ext:GridPanel runat="server" ID="gridPanelZZ" Region="Center" AutoScroll="true">
     <Plugins>
                                <ext:RowExpander runat="server" ExpandOnDblClick="true" SingleExpand="true" ExpandOnEnter="true" IsDynamic="true">
                                    <Loader runat="server" DirectMethod="App.direct.GetGrid" Mode="Component">
                                        <LoadMask ShowMask="true" />
                                        <Params>
                                            <ext:Parameter Name="Month" Value="this.record.data.Month" Mode="Raw" />
                                        </Params>
                                    </Loader>
                                </ext:RowExpander>
                            </Plugins>
    There is also a command as follows:
     <ext:CommandColumn runat="server" Width="60">
                                        <Commands>
                                            <ext:GridCommand Icon="SectionExpanded" CommandName="Expand">
                                            </ext:GridCommand>
                                        </Commands>
                                        <Listeners>
                                            <Command Handler="" />
                                        </Listeners>
                                    </ext:CommandColumn>
    command column how to trigger plug-in??? how to write command handler???
    Last edited by Daniil; Aug 07, 2013 at 11:19 AM. Reason: [CLOSED]
  2. #2
    Hello!

    Quote Originally Posted by tobros View Post
    command column how to trigger plug-in??? how to write command handler???
    Sorry, can you clarify your requirements? You want to write a command handler for what? Example of Command Handler you can find here: https://examples2.ext.net/#/GridPane...s/Row_Command/
  3. #3
    I want to achieve the effect is as follows:
    The first is a gridpanel
    Click image for larger version. 

Name:	1.jpg 
Views:	8 
Size:	72.0 KB 
ID:	6711
    When the double-row
    Click image for larger version. 

Name:	2.jpg 
Views:	8 
Size:	52.7 KB 
ID:	6712
    Now I would like to expand by clicking on this button
    Click image for larger version. 

Name:	22.jpg 
Views:	8 
Size:	16.1 KB 
ID:	6713
    How to achieve my command????
  4. #4
  5. #5
    Thank you very much!

Similar Threads

  1. Replies: 7
    Last Post: Sep 02, 2016, 7:47 PM
  2. [CLOSED] GridPanel Column DirectEvents.Command.Event
    By mis@adphk.com in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Mar 13, 2013, 11:12 AM
  3. Row Command event in grid panel
    By Dorababu in forum 1.x Help
    Replies: 0
    Last Post: Mar 08, 2012, 10:41 AM
  4. Show ExtNet.Msg.Alert on Command Event ?
    By Mohammad in forum 1.x Help
    Replies: 2
    Last Post: Oct 25, 2011, 5:55 AM

Posting Permissions