/// <summary>
        ///
        /// </summary>
        public void FillFilterList()
        {
            if (!this.Visible)
            {
                return;
            }

            FilterRow filterRow = this.ParentRow as FilterRow;

            // Only build the list from the values under the FilterRow's hierarchical position.
            GroupBase           groupBase = filterRow.ParentGroup;
            ReadOnlyDataRowList dataRows  = groupBase.GetSortedDataRows(true);

            int        dataRowsCount = dataRows.Count;
            DetailGrid parentGrid    = groupBase as DetailGrid;

            if (parentGrid == null)
            {
                parentGrid = groupBase.ParentGrid;
            }

            //int cellsCount = parentGrid.Columns.Count;

            //object savedValue = this.Value;

            IFilter customFilter = m_filterItems.ContainsKey(s_customText) ? m_filterItems[s_customText] : null;

            // Clear the existing lists.
            this.ClearFilterList();
            for (int i = 0; i < dataRowsCount; i++)
            {
                Xceed.Grid.DataRow dataRow = dataRows[i];
                this.AddToFilterList(dataRow.Cells[this.FieldName]);
            }

            // Add Any and custom
            m_filterItems[s_anyText]    = new AnyFilter();
            m_filterItems[s_customText] = customFilter;

            // Fill editor and viewer
            this.FillViewerAndEditor();

            //this.Value = savedValue;
        }
        /// <summary>
        /// 
        /// </summary>
        public void FillFilterList()
        {
            if (!this.Visible)
            {
                return;
            }

            FilterRow filterRow = this.ParentRow as FilterRow;

            // Only build the list from the values under the FilterRow's hierarchical position.
            GroupBase groupBase = filterRow.ParentGroup;
            ReadOnlyDataRowList dataRows = groupBase.GetSortedDataRows(true);

            int dataRowsCount = dataRows.Count;
            DetailGrid parentGrid = groupBase as DetailGrid;

            if (parentGrid == null)
            {
                parentGrid = groupBase.ParentGrid;
            }

            //int cellsCount = parentGrid.Columns.Count;

            //object savedValue = this.Value;

            IFilter customFilter = m_filterItems.ContainsKey(s_customText) ? m_filterItems[s_customText] : null;

            // Clear the existing lists.
            this.ClearFilterList();
            for (int i = 0; i < dataRowsCount; i++)
            {
                Xceed.Grid.DataRow dataRow = dataRows[i];
                this.AddToFilterList(dataRow.Cells[this.FieldName]);
            }

            // Add Any and custom
            m_filterItems[s_anyText] = new AnyFilter();
            m_filterItems[s_customText] = customFilter;

            // Fill editor and viewer
            this.FillViewerAndEditor();

            //this.Value = savedValue;
        }