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

                                    I am having a mvc grid view which is grouped by default and i have a check box outside the gridview when the end user clicks the check box the rows must be ungrouped how can i achieve this can u please provide me with a sample as i cant figure out how to do it

                                    Note : the Check box is not a part of the grid

                                    Thanks

                                • Leovin S 09.30.2013

                                  Please provide me an mvc sample it will be really helpful

                                You must  log in  or  register  to leave comments

                                1 Solution

                                0

                                Hello,

                                You can use the GridView.ClearSort method for this purpose. Handle the client-side MVCxClientCheckBox.CheckedChanged event and call the MVCxClientGridView.PerformCallback method in it. Then, you can call the ClearSort method in the BeforGetCallbackResult event handler.

                                I've attached a sample project to demonstrate this approach for you.

                                • Leovin S 10.01.2013

                                  Hi ,

                                   I am facing the following issues i am unable to get an option for custom callbackroutevalues
                                  and the check box doesn get checked

                                • Leovin S 10.01.2013

                                  I am using devexppress 12.1

                                • Leovin S 10.01.2013

                                  How do i collapse all rows like is there a " settings.SettingsBehavior.AutoExpandAllGroups = false;"
                                  this doexn seem to work

                                • Hi,

                                  I've converted my project to DevExpress v12.1. Check it in the attachment.

                                  P.S.If you need to collapse all rows in the GridView, you can use the ASPxGridView.CollapseAll or the ASPxClientGridView.CollapseAll methods.

                                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