通过单击行DevEx preSS的GridView编辑行 [英] DevExpress GridView Edit Row by clicking Row

查看:197
本文介绍了通过单击行DevEx preSS的GridView编辑行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想(不内嵌但 EditFormAndDisplayRow )不仅通过单击编辑 GridView中某行的数据在编辑按钮/链接,但也可通过点击该行中的任何地方。

I want to edit the data of a row in GridView (not inLine but EditFormAndDisplayRow) not only by clicking on "edit" button/link but also by clicking anywhere in the row.

任何帮助很多AP preciated。我使用DevEx preSS控制。

Any help is much appreciated. I'm using DevExpress Controls.

谢谢,

瑞奇

推荐答案

要解决您的问题:

    <dx:ASPxGridView ID="grid" runat="server" KeyFieldName="ID">
        <Columns>
            <dx:GridViewDataColumn FieldName="ID"></dx:GridViewDataColumn>
            <dx:GridViewDataColumn FieldName="Text"></dx:GridViewDataColumn>
        </Columns>
        <ClientSideEvents RowClick="s.StartEditRow(e.visibleIndex)" />
    </dx:ASPxGridView>

这篇关于通过单击行DevEx preSS的GridView编辑行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆