Current filter:
                                You should refresh the page.
                                Support Center

                                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.

                                Show Implementation Details
                                Select file
                                • Form1.cs
                                Select language
                                • C#
                                • VB.NET
                                Select version
                                • 13.1.4 - 17.2.3
                                • 8.3.7 - 12.2.18

                                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