Current filter:
                                You should refresh the page.
                                Support Center
                                -1
                                  • How can I check if rowInfo is a "filter row"?
                                    I want to loop though all rows except the filter row on the top.

                                    DevExpress.XtraGrid.Views.Grid.ViewInfo.GridViewInfo viewInfo = m_gridView.GetViewInfo() as DevExpress.XtraGrid.Views.Grid.ViewInfo.GridViewInfo;
                                    foreach(DevExpress.XtraGrid.Views.Grid.ViewInfo.GridRowInfo rowInfo in viewInfo.RowsInfo)
                                    {
                                    int rowHandle = rowInfo.RowHandle;
                                    ...

                                • KS support 12.21.2012

                                  Actually I changed my code now to loop through all rows (not only the ones visible on the screen).
                                  // iterate cells and compose a tab delimited string of cell values
                                  for (int i = 0; i < m_gridView.RowCount; i++)
                                  {
                                       int rowHandle = m_gridView.GetRowHandle(i);
                                       ...
                                  }

                                  However, how can I loop through the in the order they are visible on the screen?

                                • KS support 12.21.2012

                                  Problem solved. Never mind.

                                You must  log in  or  register  to leave comments

                                1 Solution

                                0

                                Hi Kjetil,

                                To determine the AutoFilterRow use the GridControl.AutoFilterRowHandle. Also you can get the row count of the grid via the GridView.RowCount property.

                                I hope this information will help you achieve the desired behavior. Should you have any problems, feel free to contact us. We will do our best to help you.

                                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