Current filter:
                                You should refresh the page.
                                Support Center
                                0
                                  • Hi DevExpress Team,

                                    It would be a very useful feature to add a FocusedRowChanging event to the ColumnView class, allowing programmers to prevent row focus from changing.

                                    For example:

                                    private void myGridView_FocusedRowChanging(object sender, FocusedRowChangingEventArgs e)
                                    {
                                      if (someCondition)
                                      {
                                        e.Allow = false;
                                      }
                                    }

                                    Thanks.

                                0

                                Hi Stewart,

                                Thank you for the suggestion. We will consider its implementation regarding future updates of our suites.
                                Currently, you can implement this event in a grid control descendant by overriding the GridView.DoChangeFocusedRowInternal method. We recommend that you refer to the How to create a GridView descendant class and register it for design-time use article.

                                Thanks,
                                Michael.

                                0

                                Hi,

                                The current version of the XtraGrid already has the ColumnView.BeforeLeaveRow event that can handle this logic.

                                Thanks,
                                Michael.

                                If you need additional product information, write to us at info@devexpress.com 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