示例#1
0
        private void InitializeColumns(VwbQuery query)
        {
            Columns = query.ColumnKeysInOrder != null
                                                                                                                        ? ColumnFactory.GetColumns(query.ColumnKeysInOrder).ToList()
                                                                                                                        : new List <IVwbColumn>();

            _articleCheckboxes   = ColumnFactory.GetArticleCheckboxes();
            _articleNumberColumn = ColumnFactory.GetArticleNumberColumn();
            _titleColumn         = ColumnFactory.GetTitleColumn();
            Columns.InsertRange(0, new[] { _articleCheckboxes, _articleNumberColumn, _titleColumn });
        }