Skip to content

Commit 641a055

Browse files
authored
Merge pull request #3 from SyncfusionExamples/ES-975464
ES-975464 - Resolve the ReadMe file length issue in this sample repository
2 parents 737d15d + b438930 commit 641a055

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

DataGridWithGrouping.png

96.8 KB
Loading

README.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
# How to create the single group for null and empty value in Windows Forms DataGrid(SfDataGrid)?
1+
# How to create the single group for null and empty value in WinForms DataGrid?
22

3-
## About the sample
3+
This example illustrates how to create the single group for null and empty value in [WinForms DataGrid](https://www.syncfusion.com/winforms-ui-controls/datagrid) (SfDataGrid).
44

5-
This example illustrates how to create the single group for null and empty value in Windows Forms DataGrid(SfDataGrid)
5+
By default, empty and null values are created the separate groups in `SfDataGrid`. You can able to create the single group for empty and null value by using [KeySelector](https://help.syncfusion.com/cr/windowsforms/Syncfusion.WinForms.DataGrid.GroupColumnDescription.html#Syncfusion_WinForms_DataGrid_GroupColumnDescription_KeySelector) in [GroupColumnDescription](https://help.syncfusion.com/cr/windowsforms/Syncfusion.WinForms.DataGrid.GroupColumnDescription.html).
66

7-
By default, empty and null values are created the separate groups in SfDataGrid. You can able to create the single group for empty and null value by using KeySelector in GroupColumnDescriptions.
8-
9-
```C#
7+
```csharp
108
this.sfDataGrid.GroupColumnDescriptions.Add(new GroupColumnDescription()
119
{
1210
ColumnName = "Country",
@@ -17,11 +15,9 @@ this.sfDataGrid.GroupColumnDescriptions.Add(new GroupColumnDescription()
1715
{
1816
return "";
1917
}
20-
2118
return item;
2219
}
2320
});
2421
```
2522

26-
## Requirements to run the demo
27-
Visual Studio 2015 and above versions
23+
![DataGrid with null and empty value grouping](DataGridWithGrouping.png)

0 commit comments

Comments
 (0)