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;
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.
Is your intention to post an answer to your own question?
- If so, then proceed.
- If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
- If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.