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

                                    I am using XtraGrid Control to Display some dynamic data. I simply Bind xtragrid control with DataSource which contains different columns and number of columns each time according to user clicks. The problem I am facing is that first time grid shows correct columns but later on columns remain same even if doesnot exist in datasource. I also have tried by refresh() my grid but still same.
                                    please guide me the way that how can I make my grid to display correct columns each time.

                                    Thank you,



                                Hi Muhammad,

                                Thank you for your question. To solve this problem, call the View.PopulateColumns method to recreate columns for all the fields in the View's bound datasource.


                                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