Current filter:
                                You should refresh the page.
                                Support Center
                                0

                                This example shows how to fill a combo box column with different items for different grid rows. The combo box is populated when the grid is switched to edit mode. Launch the example and pay attention to the Unit column. Please refer to the How to use a combo box whose choices are different for each cell in the grid article for additional information.

                                See Also:
                                How to filter a second LookUp column based on a first LookUp column's value

                                • Don Benson 01.10.2014

                                  I think the code that handles the ShowEditor event should have an additional check to make sure the active editor is not a null reference before casting it to a ComboBoxEdit class.

                                You must  log in  or  register  to leave comments
                                Show Implementation Details
                                Select file
                                • Form1.cs
                                Select language
                                • C#
                                • VB.NET
                                Select version
                                • v2013 vol 1.4 - v2014 vol 2.3
                                • v2008 vol 3.7 - v2012 vol 2.18

                                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