Ticket Q406257
Visible to All Users

GridView - How to catch a cell click?

created 13 years ago

When I click on a certain cell I need to perform a task (individual's email address). The DataGridView had an event CellMouseClick which allowed me to perform the task. What is the comparable event with the GridView?

Answers

created 13 years ago (modified 6 years ago)

Hi,

To accomplish this task, use the GridView.RowCellClick event.
Please note that this event will not fire when clicking on a row cell, if data editing is enabled and the ColumnViewOptionsBehavior.EditorShowMode property is set to MouseDown (and to Default, if multiple row selection is disabled). To accomplish this task, set the GridView.OptionsBehavior.EditorShowMode property to the EditorShowMode.MouseUp value.

    Show previous comments (3)
    DevExpress Support Team 13 years ago

      You are welcome, Arne

        GridView.RowCellClick  event is not available in asp.net Devexress grid view version 10.4

        DevExpress Support Team 10 years ago

          Hello Niket,

          This ticket is for WinForms GridView. I've created a separate ticket for your question regarding ASP.NET GridView:

          GridView - How to catch a cell click?

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.