diff --git a/MAUI/DataGrid/Images/columns/maui-datagrid-columnchooser.gif b/MAUI/DataGrid/Images/columns/maui-datagrid-columnchooser.gif new file mode 100644 index 000000000..9796749cb Binary files /dev/null and b/MAUI/DataGrid/Images/columns/maui-datagrid-columnchooser.gif differ diff --git a/MAUI/DataGrid/columns.md b/MAUI/DataGrid/columns.md index 0e66f3ad3..a64707281 100644 --- a/MAUI/DataGrid/columns.md +++ b/MAUI/DataGrid/columns.md @@ -383,5 +383,34 @@ this.dataGrid.Columns.RemoveAt(1); {% endhighlight %} {% endtabs %} +##Column Chooser +SfDataGrid allows you to show or hide columns at runtime by selecting or deselecting them in the Column Chooser. You can enable the column chooser by setting the ShowColumnChooser property. + +You can also customize the Column Chooser header text by setting the ColumnChooserHeaderText property. + +{% tabs %} +{% highlight xaml %} + + + + + + + + + + +{% endhighlight %} + +{% highlight c# %} + +dataGrid.ShowColumnChooser = true; + +{% endhighlight %} +{% endtabs %} + +Maui DataGrid Column Chooser