Current filter:
                                You should refresh the page.
                                Support Center
                                0
                                  • 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.

                                You must  log in  or  register  to leave comments

                                1 Solution

                                0

                                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.

                                Thanks,
                                Plato

                                You must  log in  or  register  to leave comments

                                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, Silverlight, ASP.NET, WinForms, HTML5 or Windows 8, DevExpress tools help you build and deliver your best in the shortest time possible.

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