This is a migrated thread and some comments may be shown as answers.

What's New and What's Changed in Q3 2009 for RadGridView for WPF

0 Answers 373 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Telerik Admin
Top achievements
Rank 1
Telerik Admin asked on 05 Nov 2009, 05:40 PM
• What's New
    RadGridView / GridViewDataControl
        • Added Methods
            o Grouping: ExpandGroup, CollapseGroup, ExpandAllGroups, CollpaseAllGroups, FindGroupByItem
            o Hierarchy: ExpandHierarchyItem, CollapseHierarchyItem, ExpandHierarchyItem, CollapseHierarchyItem
            o Filtering: GetDistinctValues
            o PrintToHtml()
        • Added Properties
            o Virtualization
                - EnableRowVirtualization - toggles rows virtualizati
                - EnableColumnVirtualization - toggles columns virtualization
            o ColumnWidth - SizeToHeaer, SizeToCells, Auto, Star, pixel (100).
            o Grouping
                - AutoExpandGroups
                - GroupHeaderTemplate
            o EditTriggers - flags enumeration property where you can define actions that will put a cell into edit mode - CellClick, CurrentCellClick, Default, F2, None
            o CanUserSelect- determines whether selection can be triggered from the UI
            o SelectionMode - specify the selection behavior of RadGridView and GridViewDataControl
            o AlternationCount
            o ScrollPositionIndicatorTemplate - DataTemplate for scroll position indicator that will be displayed when ScrollMode is set to Deferred
        • Added Events
            o DistinctValuesLoading

    Columns
        • Added New Column Types

            o GridViewImageColumn
            o GridViewHyperlinkColumn
            o GridViewDynamicHyperlinkColumn
            o GridViewMaskedTextBoxColumn
            o GridViewToggleRowDetailsColumn
            o GridViewSelectColumn
        • New base column for data bound scenarios: GridViewBoundColumnBase. All the related logic from GridViewDataColumn moved to the new column. All new column types used for editing derive from this column.
        • Added properties:
            o All columns
                - DisplayIndex
                - MinWidht, MaxWidth
                - GroupFooterTemplate
                - FooterTextAlignment
                - ToolTipTemplate
            o DataColumns
                - SortMemberPath
                - GroupMemberPath
                - GroupHeaderFormatString
        • GridViewComboBoxColumn
            o Added IsComboBoxEditable and ItemsSourceBinding properties

    Row
        • GridViewRow
            o IsExpandable and IsExpanded - define whether a row is a hierarchy one. Used in custom hierarchy scenarios
        • GridViewGroupRow
            o Added GroupViewModel property used for group row customizations. It contains Column, GroupDescriptor and Header properties

    DetailsProvider
        • Added Properties:
            o AreFrozen
            o VisibilityChangedCallbac

    IDetailsProvider
        • Added Properties:
            o AreFrozen
            o VisibilityChangedCallback

    GridViewRowDetailsEventArgs
        • Added Properties:
            o Visibility

        • FilteringDropDown
            o Extracted filtering UI to a new control named FilteringControl.
            o IColumnFilterDescriptor (new interface)
            o ColumnFilterDescriptor (new class)
            o DistinctValuesFilterDescriptor (new class)
            o FilteringControlBase (new class)
            o FilteringControl (new class)
            o IFilteringControl (new interface)
            o ViewModelBase (new class)
            o FilteringViewModel (new class)
            o DistinctValueViewModel (new class)
            o FilterDescriptorViewModel (new class)
            o Added ability to define your own custom filtering controls. Implement IFilteringControl or derive from FilteringControlBase and use FilteringControl property of the column to specify your custom filter control.
            o Row Details "lazy" loading: Row Details are not loaded until the first time they are about to become visible.
            o Distinct Values "lazy" loading: Distinct values are not loaded untrul the first time the filtering UI is about to become visible.
            o Added RowValidated and CellValidated events
            o Added GroupFooterTemplate for GridViewColumn
            o Added Clipboard.IsEnabled property (attached behavior)
            o Extended GridViewAddingNewEventArgs with Cancel member
            o GridViewDataControl GetDistinctValues() is now public
            o Added Copy to clipboard built-in support
            o Added SortMemberPath, GroupMemberPath property for GridViewDataColumn
            o Added metadata support for auto-generated columns
            o Added RowDetailsVisibilityChanged event to GridViewDataControl
            o ChildTableDefinitions are now exposed on GridViewDataControl
            o Added GridViewDataColumn.GroupHeaderFormatString property
            o Added BeginEdit() method on cell

    What's Fixed
            o GridView selection modes are now consistent with the selection modes of Microsoft's Selector classes.
            o Column now can be replaced in AutoGeneratingColumn event.
            o Filters now persisted after the grid is rebound.
            o RadGridView.IsReadOnly incorrectly sets GridViewColumn.IsReadOnly is now fixed.
            o RowDetailsTemplate is now loaded only if needed (Lazy Loading)
            o GridViewComboBoxColumn is now exported properly.
            o Distinct filters now respect column DataFormatString.
            o Selecting child row no longer selects its parent row.
            o Fixed DomainDataSource column auto-generation when PageSize is greater than zero.
            o FilteringDropDown now displays distinct values based on the currently applied filters rather than all the data.
   
    What's Changed
            o UI virtualization introduced for rows and columns.
            o GridViewColumn.Width is now Auto by default.
            o GridViewDataControl ScrollMode is now RealTime by default.
            o ColumnFilterDescriptors are now used instead of FieldFilterDescriptors.
            o New base type for data bound columns - GridViewBoundColumnBase. Inherited columns should set BindingTarget property.
            o Simplified and optimized templates for: GridViewRow, GridViewHeaderRow, GridViewFooterRow, GridViewGroupRow, GridViewGroupFooterRow, GridViewCell, GridViewFooterCell, GridViewGroupFooterCell
            o Width property of GridViewColumn is now of type GridViewLength, which allows more customizations - SizeToHeader, SizeToCells, etc.

    Members marked as Obsolete in previous releases and deleted in Q3 2009:
            o GridViewHeaderCell: HeaderTextProperty, HeaderText, IsColumnFilterable
            o GridViewColumn: HeaderText
            o GridViewDataColumn: DataMemberPath
            o ExportExtensions: ToExcelML(this GridViewDataControl source, IList records, bool includeHeader), ToHtml(this GridViewDataControl source, IList records, bool includeHeader), ToText(this GridViewDataControl source, IList records, bool includeHeader), ToCsv(this GridViewDataControl source, IList records, bool includeHeader)
            o DistinctFilterControl
            o GridViewDataControl: RowAppearance, CreateFilterDescriptions(), FilterDescription, GroupDescriptions, SortDescriptions
            o GridViewGroupingEventArgs: GridViewGroupingEventArgs(CollectionChangeAction action, GroupDescription GroupDescription, int index), GroupDescription
            o GridViewItemsControl
            o GridViewSortingEventArgs: SortingState
            o RadGridView: AutoGenerateHierarchyFromDataSet
            o RowAppearanceSettings
            o RecordValidatingRoutedEventArgs
            o Field
            o FieldCollection
            o FieldDescriptor: DataMemberPath
            o IDataFieldDescriptor: DataMemberPath
            o AggregateFunction: Name, Calculate(GroupRecord targetGroup)
            o AverageFunction: AverageFunction(string propertyName, string sourceField, string caption), Calculate(GroupRecord targetGroup)
            o CountFunction: CountFunction(string functionName, string sourceField, string caption), Calculate(GroupRecord targetGroup)
            o EnumerableAggregateFunction: sourceField
            o FirstFunction: FirstFunction(string functionName, string calculationField, string caption), Calculate(GroupRecord targetGroup)
            o LastFunction: LastFunction(string functionName, string calculationField, string caption), Calculate(GroupRecord targetGroup)
            o MaxFunction: MaxFunction(string functionName, string calculationField, string caption), Calculate(GroupRecord targetGroup)
            o MinFunction: MinFunction(string functionName, string calculationField, string caption), Calculate(GroupRecord targetGroup)
            o SumFunction: SumFunction(string functionName, string sourceField, string caption), Calculate(GroupRecord targetGroup)
            o RadGroupDescription
            o RadGroupDescriptionCollection
            o RadSortDescriptionCollection
            o IRecordFactory
            o RecordManager
            o DataRecord
            o ExpandableDataRecord
            o GroupRecord
            o HeaderRecord
            o Record
            o RecordCollection
            o DataControl: CurrentRecord, SelectedRecord, SelectedRecords
            o StringExtensions
            o RecordNavigator
            o SelectionChangeEventArgs: RemovedRecords, AddedRecords
            o DistinctValuesList
            o CheckBoxItem
            o CheckBoxList
            o ClearFilterButton
            o ItemsControl property on GridViewDataControl - use the GridViewDataControl instead 

    Members marked as Obsolete in Q3 2009:
            o GridViewCell: CellRequestBringIntoViewEvent, Editor
            o GridViewCellBase: VerticalLineVisibilityProperty, VerticalLineFillProperty, VerticalLineThicknessProperty, VerticalLineVisibility, VerticalLineThickness, VerticalLineFill
            o ColumnsWidthMode
            o GridViewBoundColumnBase: EditorSettingsProperty, EditorSettings
            o GridViewColumn: ColumnWidthChangedEventArgs, ColumnWidthChanged, VerticalGridlinesBrushProperty, VerticalGridlinesThicknessProperty, VerticalGridlinesVisibilityProperty, VerticalGridlinesBrush, VerticalGridlinesThickness, VerticalGridlinesVisibility
            o GridViewRowValidatingEventArgs: NewValues, OldData
            o CheckBoxEditorSettings
            o ComboBoxEditorSettings
            o DatePickerEditorSettings
            o EditorSettings
            o EditorsLoader
            o GridViewCellEditor
            o GridViewCheckBoxEditor
            o GridViewComboBoxEditor
            o GridViewDatePickerEditor
            o GridViewMaskedTextBoxEditor
            o GridViewTextBoxEditor
            o IEditorSettings
            o MaskedTextBoxEditorSettings
            o TextBoxEditorSettings
            o GridViewDataControl: ValidationModeProperty, ValidationMode, ColumnsWidthModeProperty, AlternateExpandableRowStyle, ExpandableRowStyle, UseAlternateRowStyleProperty, UseAlternateRowStyle, ColumnsWidthMode, VerticalGridlinesVisibilityProperty, VerticalGridlinesVisibility, BringDataItemIntoView(), MultipleSelect
            o Telerik.Windows.Controls.GridView.GridView.GridViewGroupingEventArgs
            o BaseItemsControl: ItemsGenerator
            o GridViewExpandableRow
            o GridViewGroupRow: GridViewGroupRow(GridViewDataControl GridViewDataControl)
            o GridViewNewRow: ValidationMode
            o GridViewRow: ValidationMode
            o FilterDescriptor: FilterDescriptor(string member, FilterOperator FilterOperator, object filterValue, IValueConverter converter), FilterDescriptor(string member, FilterOperator FilterOperator, object filterValue, IValueConverter converter, string format)
            o PropertyRelation: GetDataSource(object context, TableDefinition definition)
            o RelationBase: GetDataSource(object context, TableDefinition definition)
            o TableDefinition: PreviewDataRecordCreate, AutoGenerateFieldDescriptors
            o TableRelation: GetDataSource(object context, TableDefinition definition)
            o RadRowItem: ValidationMode, DataItem

    Changed Templates for 2009.Q3:
            o RadGridView
            o DataCellsPresenter
            o GridViewRow
            o GridViewCell
            o GridViewGroupRow
            o GridViewHeaderRow
            o GridViewHeaderCell
            o DraggedElement
            o GridViewScrollViewer
            o GridViewFooterRow
            o GridViewGroupFooterRow
            o GridViewFooterIndentCell
            o GridViewGroupFooterIndentCell
            o GridViewFooterCell
            o GridViewGroupFooterCell
            o DetailsPresenter
            o FrozenColumnSplitter
            o GridViewGroupPanelCell
            o DistinctFilterControl
            o GridViewGroupPanelItem
            o GridViewHeaderIndentCell
            o GridViewAggregateResultCell
            o ScrollPositionIndicator
            o GridViewDataControl
            o GridViewEditorPresenter – new
            o GridViewToggleButton – new
            o GridViewItemsControl – obsolete
            o GridViewExpander – obsolete
            o GridViewExpandableRow – obsolete
            o GridViewHierarchyChildPresenter – obsolete
            o GridViewHeaderSplitter - obsolete
Tags
GridView
Asked by
Telerik Admin
Top achievements
Rank 1
Share this question
or