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>

  • 相关阅读:
    sqlserver的版本号
    看了wcf后的一些疑问,请高手指导
    vs2008怎么与vss2005集成(已解决)
    下载的文件名问题[转]
    问题解答
    常见问题FAQ
    参观用友(UFIDA)产业园流水账~~
    问题解答
    Langzhi RAD Framework
    常见问题FAQ
  • 原文地址:https://www.cnblogs.com/wujy/p/2341488.html
Copyright © 2011-2022 走看看