/// <summary> /// /// </summary> public void ApplyFilters() { if (!this.Enabled) { return; } m_searchExps.Clear(); int cellsCount = this.Cells.Count; for (int j = 0; j < cellsCount; j++) { if (!this.Cells[j].Visible) { continue; } if (this.Cells[j].ReadOnly) { continue; } SearchCell searchCell = (SearchCell)this.Cells[j]; ISearchExpression filter = searchCell.GetSearchExpression(); //object cellValue = dataRow.Cells[j].Value; if (filter != null) { m_searchExps.Add(filter); } } //if (m_searchExps.Count > 0) { IBoundGrid grid = this.GridControl as IBoundGrid; if (grid != null) { ISearchExpression exp = SearchExpression.ConvertListToOne(m_searchExps); grid.DisplayManager.SearchManager.LoadData(exp, null); } } }