From b889a5a5423f033313a785ff97df285848b8b2fc Mon Sep 17 00:00:00 2001 From: SwathiDhatchanamoorthi Date: Fri, 25 Nov 2022 18:12:21 +0530 Subject: [PATCH] WF-64803-Updated the README.md file --- README.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 6548186..79f1284 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,8 @@ -# How to create the single group for null and empty value in Windows Forms DataGrid(SfDataGrid)? +# How to create the single group for null and empty value in Windows Forms DataGrid(SfDataGrid) -## About the sample +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?_ga=2.117674313.1315379768.1669285137-766490130.1650530957&_gl=1*tvmfv5*_ga*NzY2NDkwMTMwLjE2NTA1MzA5NTc.*_ga_WC4JKKPHH0*MTY2OTM3NjkwOS4zMTQuMS4xNjY5Mzc5ODA2LjAuMC4w#Syncfusion_WinForms_DataGrid_GroupColumnDescription_KeySelector) in [GroupColumnDescription](https://help.syncfusion.com/cr/Syncfusion.WinForms.DataGrid.GroupColumnDescription.html?_ga=2.117674313.1315379768.1669285137-766490130.1650530957&_gl=1*tvmfv5*_ga*NzY2NDkwMTMwLjE2NTA1MzA5NTc.*_ga_WC4JKKPHH0*MTY2OTM3NjkwOS4zMTQuMS4xNjY5Mzc5ODA2LjAuMC4w). -This example illustrates how to create the single group for null and empty value in Windows Forms DataGrid(SfDataGrid) - -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. - -```C# +``` this.sfDataGrid.GroupColumnDescriptions.Add(new GroupColumnDescription() { ColumnName = "Country", @@ -17,7 +13,7 @@ this.sfDataGrid.GroupColumnDescriptions.Add(new GroupColumnDescription() { return ""; } - + return item; } });