Current filter:
                                You should refresh the page.
                                Support Center
                                  • i want to get the value of cell index 6 in the selected row


                                • wesa 08.14.2012

                                  i cant find a way to get the row index on click

                                2 Solutions

                                Creation Date Rating Importance Sort by

                                Hi Wesam,

                                Thank you for sharing your results. Yes, the GetCellValue method is the best way to obtain the actual value of a particular cell. Please note that TableView also has the FocusedColumn property that can help you determine a currently focused column. Feel free to post new comments if you need additional information.


                                is there no other way to get the selected cell value?

                                • wesa 08.14.2012

                                  Public Sub GridControl1_Cellclick(ByVal sender As Object, ByVal e As RoutedEventArgs) Handles GridControl1.MouseDoubleClick
                                        MsgBox(GridControl1.GetCellValue(GridControl1.GetRowVisibleIndexByHandle(GridControl1.View.FocusedRowData.RowHandle.Value), "MyCol").ToString)
                                      End Sub

                                If you need additional product information, write to us at or call us at +1 (818) 844-3383

                                FOLLOW US

                                DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, along with high-performance HTML JS Mobile Frameworks for developers targeting iOS, Android and Windows Phone. Whether using WPF, ASP.NET, WinForms, HTML5 or Windows 10, DevExpress tools help you build and deliver your best in the shortest time possible.

                                Copyright © 1998-2017 Developer Express Inc.
                                All trademarks or registered trademarks are property of their respective owners