Current filter:
                                You should refresh the page.
                                Support Center
                                  • I need to be able to add a button to each row of a xtraGrid that I can respond to a click event on it. The edit button control does not seem to let me set the text of the button as well as the fact I don't want to edit anything. I have made a linkedit control work for current purposes, but I would prefer a button. How do I go about this? Ability to bind a data value to different properties of the button would be nice too.

                                1 Solution

                                Creation Date Rating Importance Sort by

                                Hi Robert,

                                I have attached a sample project showing how this can be done. In short, I am painting a button manually within the CustomDrawCell event and also handle the View's MouseDown event to manage clicks.


                                Show all comments

                                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