zoukankan      html  css  js  c++  java
  • EXT.net GridPanel行双击响应事件

                    <View>
                        <ext:GridView ID="GridView1" runat="server" ForceFit="true" />
                    </View>
                    <SelectionModel>
                        <ext:RowSelectionModel ID="RowSelectionModel1" runat="server" SingleSelect="false" >
                        </ext:RowSelectionModel>
                    </SelectionModel>
                    <Listeners><DblClick Handler="alert('2587')" /></Listeners>

    跟列表结合获得值

                         <Listeners>
                                <DblClick Handler="
                                   var ID=Ext.getCmp('GridPanel1').getSelectionModel().getSelected().data.ID;
                                   var Name =Ext.getCmp('GridPanel1').getSelectionModel().getSelected().data.SiteName;
                                     top.addTab('Site_'+ID,Name,'Pages/site/SiteDetail.aspx?ID='+ID);
                                  " />
                            </Listeners>

  • 相关阅读:
    黑盒测试实践——每日例会记录(一)
    《高级软件测试》—如何计算团队成员贡献分
    TestLink学习——第一周使用小结
    BugkuCTF 你必须让他停下
    BugkuCTF 域名解析
    BugkuCTF web3
    BugkuCTF 矛盾
    BugkuCTF web基础$_POST
    BugkuCTF web基础$_GET
    BugkuCTF 计算器
  • 原文地址:https://www.cnblogs.com/wujy/p/2341488.html
Copyright © 2011-2022 走看看