Current filter:
                                You should refresh the page.
                                Support Center
                                0
                                  • Hi - I'm grouping rows within a GridView, but I want to sort the group rows by one field (Position) but display on them the contents of another field (Heading). E.g. suppose I have

                                    Position Heading
                                    --------- -------
                                    10 forest
                                    30 other
                                    20 artificial

                                    then I want the groups to be sorted in the order of Position, i.e. forest, artificial, other

                                    I'm using GroupRowTemplate to do this, but whilst it sorts correctly and displays the correct heading the little plus is missing from the group row and I can't expand or collapse them. I can't find any docs on this: is there a way of preserving the expand collapse behaviour when using GroupRowTemplate? I've attached a screenshots of my code and the result for reference ...

                                GroupRowTemplate.zip
                                0

                                Hi Anthony;

                                Please try to use the GrouRowContent template container instead of the GroupRowTemplate container. In this situation the little "plus" button will not be missed.

                                Thanks
                                Kate.

                                To start a chat you should create a support ticket


                                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