dev 表格使用showAutoFilterRow 获取筛选后的结果集
////// 获取gridControl 筛选后的数据 /// public class GetGridViewFilteredData { public System.Collections.IList GetGridViewFilteredAndSortedData(DevExpress.XtraGrid.Views.Grid.GridView view) { return view.DataController.GetAllFilteredAndSortedRows(); } }
IList data = GetFileData.GetGridViewFilteredAndSortedData(grvwRoute);
此方法是DEV自带的方法,但是被隐藏了