Skip to content

Commit c6a2a7b

Browse files
authored
Merge pull request #4 from Backiaraj/DataGrid
Modified the reference link
2 parents 9215772 + 29a5054 commit c6a2a7b

File tree

91 files changed

+4554
-122
lines changed
  • How-to-achieve-the-editorselectionbehaviour-as-selectall-in-gridtemplatecolumn-in-wpf-datagrid
  • How-to-add-a-new-row-continuously-without-any-selection-to-next-row-in-wpf-datagrid
  • How-to-add-the-custom-control-below-row-header-in-wpf-datagrid
  • How-to-add-the-textbox-and-binding-property-in-wpf-datagrid
  • How-to-bind-a-column-collection-from-view-model-in-wpf-datagrid
  • How-to-bind-dictionary-to-column-in-wpf-datagrid
  • How-to-bind-the-selecteditem-and-currentitem-in-detailsviewdatagrid-of-wpf-datagrid
  • How-to-bind-the-view-model-itemssource-to-gridcomboboxcolumn-in-wpf-datagrid
  • How-to-bind-wpf-datagrid-with-collectionviewsource
  • How-to-cancel-the-addnewrow-operation-using-esc-key-from-edit-mode-in-wpf-datagrid
  • How-to-change-row-background-based-on-record-in-wpf-datagrid
  • How-to-change-the-cell-value-of-selected-cells-in-wpf-datagrid
  • How-to-change-the-checkbox-column-values-based-on-row-selection-in-wpf-datagrid
  • How-to-change-the-filter-predicate-showing-in-checkboxfilter-ui-in-wpf-datagrid
  • How-to-change-the-row-background-based-on-property-in-record-of-wpf-datagrid
  • How-to-clear-the-selection-while-grouping-or-ungrouping-in-wpf-datagrid
  • How-to-customize-print-preview-window-in-wpf-datagrid
  • How-to-customize-the-filtering-and-sorting-icons-in-wpf-datagrid
  • How-to-display-positive-and-negative-infinity-values-as-strings-in-wpf-datagrid
  • How-to-display-the-group-header-based-on-the-column-name-in-wpf-datagrid
  • How-to-display-the-number-format-info-in-gridsummarycolumn-of-wpf-datagrid
  • How-to-enable-the-button-in-gridtemplatecolumn-when-mouse-hovering-in-wpf-datagrid
  • How-to-filter-the-records-in-wpf-datagrid
  • How-to-get-the-record-using-mouse-double-click-in-the-row-in-wpf-datagrid
  • How-to-import-the-data-from-excel-to-wpf-datagrid
  • How-to-improve-performance-when-loading-grid-with-records-and-columns-in-wpf-datagrid
  • How-to-improve-the-performance-while-selecting-row-using-shift-key-in-wpf-datagrid
  • How-to-load-a-button-in-caption-summary-row-and-prevent-expand-and-collapse-of-groups-in-wpf-datagrid
  • How-to-load-cell-types-for-each-row-based-on-first-column-in-wpf-datagrid
  • How-to-load-different-images-in-gridcell-based-on-cell-value-in-wpf-datagrid
  • How-to-load-number-filters-in-advancefilters-using-dynamic-collection-in-wpf-datagrid
  • How-to-load-the-collection-in-gridcomboboxcolumn-of-wpf-datagrid
  • How-to-load-the-json-data-in-wpf-datagrid
  • How-to-load-the-symbols-in-filterrow-in-wpf-datagrid
  • How-to-load-web-image-in-gridimagecolumn-of-wpf-datagrid
  • How-to-localize-the-filter-values-in-gridcheckboxcolumn-in-wpf-datagrid
  • How-to-make-drag-and-drop-between-the-wpf-datagrid-with-other-controls
  • How-to-paste-the-copied-row-in-addnewrow-in-wpf-datagrid
  • How-to-paste-the-empty-string-while-using-cell-selection-in-wpf-datagrid
  • How-to-perform-the-incremental-search-in-wpf-datagrid
  • How-to-print-multiple-wpf-datagrid-in-a-single-document
  • How-to-print-wpf-datagrid-with-detailsview
  • How-to-scroll-and-select-the-record-programmatically-in-wpf-datagrid
  • How-to-scroll-multiple-items-for-one-mouse-wheel-in-wpf-datagrid
  • How-to-scroll-wpf-datagrid-when- load-with-in-the-scrollviewer
  • How-to-select-the-rows-based-on-cell-value- in-wpf-datagrid
  • How-to-set-row-height-based-on-content-while-printing-wpf-datagrid
  • How-to-set-stackedheaders-when-autogeneratecolumn-as-true-in-wpf-datagrid
  • How-to-set-the-background-for-selected-detailsviewgrid-in-wpf-datagrid
  • How-to-set-the-show-duration-and-show-delay-duration-for-tooltip-in-wpf-datagrid
  • How-to-show-the-filter-status-message-in-wpf-datagrid
  • How-to-show-the-number-keyboard-when-editing-gridnumericcolumn-in-wpf-datagrid
  • How-to-show-the-tooltip-for-specified-cell-in-wpf-datagrid
  • How-to-skip-add-the-hidden-columns-in-wpf-datagrid
  • How-to-skip-editing-for-read-only-colums-in-addnewrow-of-wpf-datagrid
  • How-to-skip-the-certain-column-from-auto-row-height-support-in-wpf-datagrid
  • How-to-sort-multiple-column-in-wpf-datagrid
  • How-to-use-the-conditional-formatting-in-table-summary-cell-of-wpf-datagrid
  • How-to-use-the-editing-events-in-gridcheckboxcolumn-of-wpf-datagrid
  • How-to-validate-the-addnewrow-value-based-on-existing-records-in-wpf-datagrid
  • How-to-wire-the-rowvalidating-event-after-pasted-content-to-wpf-datagrid

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+4554
-122
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# How to achieve the EditorSelectionBehaviour as SelectAll in GridTemplateColumn in WPF DataGrid (SfDataGrid)?
22

3-
This sample show cases how to achieve the EditorSelectionBehavior as SelectAll in [GridTemplateColumn](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Grid.GridTemplateColumn.html) in [WPF DataGrid](https://www.syncfusion.com/wpf-ui-controls/datagrid) (SfDataGrid).
3+
This sample show cases how to achieve the EditorSelectionBehavior as SelectAll in [GridTemplateColumn](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Grid.GridTemplateColumn.html) in [WPF DataGrid](https://www.syncfusion.com/wpf-controls/datagrid) (SfDataGrid).
44

5-
The [EditorSelectionBehavior](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Grid.EditorSelectionBehavior.html) as [SelectAll](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Grid.SfDataGrid.html#Syncfusion_UI_Xaml_Grid_SfDataGrid_SelectAll_System_Boolean_) will not work when the [GridTemplateColumn](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Grid.GridTemplateColumn.html) is in edit mode in [WPF DataGrid](https://www.syncfusion.com/wpf-ui-controls/datagrid) (SfDataGrid). Because, the element loaded inside the edit template cannot be predicted. You can achieve this by programmatically selecting all the text whenever the edit element got focus.
5+
The [EditorSelectionBehavior](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Grid.EditorSelectionBehavior.html) as [SelectAll](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Grid.SfDataGrid.html#Syncfusion_UI_Xaml_Grid_SfDataGrid_SelectAll_System_Boolean_) will not work when the [GridTemplateColumn](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Grid.GridTemplateColumn.html) is in edit mode in [WPF DataGrid](https://www.syncfusion.com/wpf-controls/datagrid) (SfDataGrid). Because, the element loaded inside the edit template cannot be predicted. You can achieve this by programmatically selecting all the text whenever the edit element got focus.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# How to add a new row continuously without any selection to next row in WPF DataGrid (SfDataGrid)?
22

3-
This sample show cases how to add a new row continuously in AddNewRow without moving the selection to next row in [WPF DataGrid](https://www.syncfusion.com/wpf-ui-controls/datagrid) (SfDataGrid).
3+
This sample show cases how to add a new row continuously in AddNewRow without moving the selection to next row in [WPF DataGrid](https://www.syncfusion.com/wpf-controls/datagrid) (SfDataGrid).
44

5-
When pressing the Enter key or Tab key in AddNewRow the selection will be moved to next row at once the new row has been added in [WPF DataGrid](https://www.syncfusion.com/wpf-ui-controls/datagrid) (SfDataGrid). You can skip this selection using `CurrentCellActivated` event
5+
When pressing the Enter key or Tab key in AddNewRow the selection will be moved to next row at once the new row has been added in [WPF DataGrid](https://www.syncfusion.com/wpf-controls/datagrid) (SfDataGrid). You can skip this selection using `CurrentCellActivated` event
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# How to add the custom control below row header in WPF DataGrid (SfDataGrid)?
22

3-
This sample show cases how to add the custom control below row header in [WPF DataGrid](https://www.syncfusion.com/wpf-ui-controls/datagrid) (SfDataGrid).
3+
This sample show cases how to add the custom control below row header in [WPF DataGrid](https://www.syncfusion.com/wpf-controls/datagrid) (SfDataGrid).
44

5-
You can add a custom control under the header as extra header by adding an unbound row and customizing the `GridUnBoundRowCellRenderer` in [WPF DataGrid](https://www.syncfusion.com/wpf-ui-controls/datagrid) (SfDataGrid).
5+
You can add a custom control under the header as extra header by adding an unbound row and customizing the `GridUnBoundRowCellRenderer` in [WPF DataGrid](https://www.syncfusion.com/wpf-controls/datagrid) (SfDataGrid).
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# How to add the textbox and binding property in WPF DataGrid (SfDataGrid)?
22

3-
This sample show cases how to add the textbox and binding property in [WPF DataGrid](https://www.syncfusion.com/wpf-ui-controls/datagrid) (SfDataGrid).
3+
This sample show cases how to add the textbox and binding property in [WPF DataGrid](https://www.syncfusion.com/wpf-controls/datagrid) (SfDataGrid).
44

5-
You can add a text box control to each group summary row of [WPF DataGrid](https://www.syncfusion.com/wpf-ui-controls/datagrid) (SfDataGrid) by overriding the style of [GroupSummaryRowControl](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Grid.GroupSummaryRowControl.html).
5+
You can add a text box control to each group summary row of [WPF DataGrid](https://www.syncfusion.com/wpf-controls/datagrid) (SfDataGrid) by overriding the style of [GroupSummaryRowControl](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Grid.GroupSummaryRowControl.html).
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# How to bind a column collection from view model in WPF DataGrid (SfDataGrid)?
22

3-
This sample show cases how to bind a column collection from view model in [WPF DataGrid](https://www.syncfusion.com/wpf-ui-controls/datagrid) (SfDataGrid).
3+
This sample show cases how to bind a column collection from view model in [WPF DataGrid](https://www.syncfusion.com/wpf-controls/datagrid) (SfDataGrid).
44

5-
You can bind the [SfDataGrid.Columns](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Grid.SfDataGrid.html#Syncfusion_UI_Xaml_Grid_SfDataGrid_Columns) to a property in the ViewModel by having the binding property to be of type Syncfusion.SfGrid.UI.Xaml.Grid.Columns. So, you can set binding to the `SfDataGrid.Columns` property provided the DataContext of the [WPF DataGrid](https://www.syncfusion.com/wpf-ui-controls/datagrid) (SfDataGrid) is ViewModel.
5+
You can bind the [SfDataGrid.Columns](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Grid.SfDataGrid.html#Syncfusion_UI_Xaml_Grid_SfDataGrid_Columns) to a property in the ViewModel by having the binding property to be of type Syncfusion.SfGrid.UI.Xaml.Grid.Columns. So, you can set binding to the `SfDataGrid.Columns` property provided the DataContext of the [WPF DataGrid](https://www.syncfusion.com/wpf-controls/datagrid) (SfDataGrid) is ViewModel.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# How to bind dictionary to column in WPF DataGrid (SfDataGrid)?
22

3-
This sample show cases how to bind the dictionary to column in [WPF DataGrid](https://www.syncfusion.com/wpf-ui-controls/datagrid) (SfDataGrid).
3+
This sample show cases how to bind the dictionary to column in [WPF DataGrid](https://www.syncfusion.com/wpf-controls/datagrid) (SfDataGrid).
44

5-
[WPF DataGrid](https://www.syncfusion.com/wpf-ui-controls/datagrid) (SfDataGrid) provides support to bind the Dictionary with `SfDataGrid.Columns`.
5+
[WPF DataGrid](https://www.syncfusion.com/wpf-controls/datagrid) (SfDataGrid) provides support to bind the Dictionary with `SfDataGrid.Columns`.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# How to bind the selecteditem and currentitem in DetailsViewDataGrid of WPF DataGrid (SfDataGrid)?
22

3-
This sample show cases how to bind the selected item and current item in [DetailsVIewDataGrid](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Grid.DetailsViewDataGrid.html) of [WPF DataGrid](https://www.syncfusion.com/wpf-ui-controls/datagrid) (SfDataGrid).
3+
This sample show cases how to bind the selected item and current item in [DetailsVIewDataGrid](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Grid.DetailsViewDataGrid.html) of [WPF DataGrid](https://www.syncfusion.com/wpf-controls/datagrid) (SfDataGrid).
44

5-
You can bind the `SelectedItem` and `CurrentItem` properties directly in [WPF DataGrid](https://www.syncfusion.com/wpf-ui-controls/datagrid) (SfDataGrid). But in Master DetailsView you can’t be able to bind the SelectedItem or CurrentItem directly in [DetailsViewDataGrid](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Grid.DetailsViewDataGrid.html). You can overcome this by using behavior with dependency properties which is bounded to ViewModel properties. You have to use [SelectionChanged](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Grid.SfDataGrid.html#Syncfusion_UI_Xaml_Grid_SfDataGrid_SelectionChanged) event of corresponding [DetailsViewDataGrid](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Grid.DetailsViewDataGrid.html) to get the `SelectedItem` and `CurrentItem` of [WPF DataGrid](https://www.syncfusion.com/wpf-ui-controls/datagrid) (SfDataGrid).
5+
You can bind the `SelectedItem` and `CurrentItem` properties directly in [WPF DataGrid](https://www.syncfusion.com/wpf-controls/datagrid) (SfDataGrid). But in Master DetailsView you can’t be able to bind the SelectedItem or CurrentItem directly in [DetailsViewDataGrid](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Grid.DetailsViewDataGrid.html). You can overcome this by using behavior with dependency properties which is bounded to ViewModel properties. You have to use [SelectionChanged](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Grid.SfDataGrid.html#Syncfusion_UI_Xaml_Grid_SfDataGrid_SelectionChanged) event of corresponding [DetailsViewDataGrid](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Grid.DetailsViewDataGrid.html) to get the `SelectedItem` and `CurrentItem` of [WPF DataGrid](https://www.syncfusion.com/wpf-controls/datagrid) (SfDataGrid).
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# How to bind the view model ItemsSource to GridComboBoxColumn in WPF DataGrid (SfDataGrid)?
22

3-
This sample show cases how to bind the view model ItemsSource to GridComboBoxColumn without using static resource in [WPF DataGrid](https://www.syncfusion.com/wpf-ui-controls/datagrid) (SfDataGrid).
3+
This sample show cases how to bind the view model ItemsSource to GridComboBoxColumn without using static resource in [WPF DataGrid](https://www.syncfusion.com/wpf-controls/datagrid) (SfDataGrid).
44

5-
You can bind the ViewModel ItemsSource to GridComboBoxColumn without StaticResourceKey by setting the ElementName when binding the `ItemsSource` from DataContext of [WPF DataGrid](https://www.syncfusion.com/wpf-ui-controls/datagrid) (SfDataGrid).
5+
You can bind the ViewModel ItemsSource to GridComboBoxColumn without StaticResourceKey by setting the ElementName when binding the `ItemsSource` from DataContext of [WPF DataGrid](https://www.syncfusion.com/wpf-controls/datagrid) (SfDataGrid).
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# How to bind WPF DataGrid (SfDataGrid) with CollectionViewSource?
22

3-
This sample show cases how to bind [WPF DataGrid](https://www.syncfusion.com/wpf-ui-controls/datagrid) (SfDataGrid) with CollectionViewSource.
3+
This sample show cases how to bind [WPF DataGrid](https://www.syncfusion.com/wpf-controls/datagrid) (SfDataGrid) with CollectionViewSource.
44

5-
You can bind `CollectionViewSource` instead of binding an `IEnumerable` collection in [WPF DataGrid](https://www.syncfusion.com/wpf-ui-controls/datagrid) (SfDataGrid). You have to create the view from `CollectionViewSource` using `GetDefaultView` method.
5+
You can bind `CollectionViewSource` instead of binding an `IEnumerable` collection in [WPF DataGrid](https://www.syncfusion.com/wpf-controls/datagrid) (SfDataGrid). You have to create the view from `CollectionViewSource` using `GetDefaultView` method.

How-to-cancel-the-addnewrow-operation-using-esc-key-from-edit-mode-in-wpf-datagrid/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# How to cancel the AddNewRow operation using Esc key from edit mode in WPF DataGrid (SfDataGrid)?
22

3-
This sample show cases how to cancel the AddNewRow operation using Esc key from edit mode in [WPF DataGrid](https://www.syncfusion.com/wpf-ui-controls/datagrid) (SfDataGrid).
3+
This sample show cases how to cancel the AddNewRow operation using Esc key from edit mode in [WPF DataGrid](https://www.syncfusion.com/wpf-controls/datagrid) (SfDataGrid).
44

5-
You can cancel the editing operation when you press Esc Key in [WPF DataGrid](https://www.syncfusion.com/wpf-ui-controls/datagrid) (SfDataGrid). The AddNewRow operation is cancelled when you pressed the Esc key twice while the AddNewRow cell is in editing mode.
5+
You can cancel the editing operation when you press Esc Key in [WPF DataGrid](https://www.syncfusion.com/wpf-controls/datagrid) (SfDataGrid). The AddNewRow operation is cancelled when you pressed the Esc key twice while the AddNewRow cell is in editing mode.
66

77
Since when you press the Esc key in AddNewRow cell which is in edit mode below actions will happen,
88

0 commit comments

Comments
 (0)