# Tasks Menus

FlexGrid tasks menus provide options to access commonly used properties and editors of grid at design time. Know more about the tasks menus in this topic.

## Content

## C1FlexGrid Tasks Menu

**C1FlexGrid Tasks** menu provides you an easy access to the commonly used properties of FlexGrid. It also provides options to open various editors such as **C1FlexGrid Column Editor**, **C1FlexGrid Style Editor**.

To access the C1FlexGrid Tasks menu, click the smart tag (![Smart Tag](https://cdn.mescius.io/document-site-files/images/2f10b028-0ae8-4c29-a102-4d67578c339b/images/smart-tag.png)) in the upper right corner of the grid. Following table explains various options available through the C1FlexGrid Tasks menu:
![C1FlexGrid Tasks Menu](https://cdn.mescius.io/document-site-files/images/2f10b028-0ae8-4c29-a102-4d67578c339b/images/flexgrid-tasks-menu.png)

| Option | Description |
| ------ | ----------- |
| Choose Data Source | The dropdown opens the list of available data sources and gives you **Add Project Data Source** option to open **Data Source Configuration Wizard**. For more information on how to add a new data source to the project, see [Bound Mode](/componentone/docs/win/online-flexgrid/concepts/data/bound-mode). |
| Enable Adding Rows | The checkbox toggles the [AllowAddNew](/componentone/api/win/online-flexgrid/dotnet-api/C1.Win.FlexGrid.10/C1.Win.FlexGrid.C1FlexGridBase.AllowAddNew.html) property which allows users to add new row to the grid at run time. When checked ON, it displays a template row with star at the bottom of the grid to enter the new record. |
| Enable Deleting Rows | The checkbox toggles the [AllowDelete](/componentone/api/win/online-flexgrid/dotnet-api/C1.Win.FlexGrid.10/C1.Win.FlexGrid.C1FlexGridBase.AllowDelete.html) property which allows users to delete the selected rows by pressing the Delete key. |
| Enable Editing | The checkbox toggles the [AllowEditing](/componentone/api/win/online-flexgrid/dotnet-api/C1.Win.FlexGrid.10/C1.Win.FlexGrid.RowCol.AllowEditing.html) property which allows users to edit the grid. |
| Enable Column Reordering | The checkbox sets the [AllowDragging](/componentone/api/win/online-flexgrid/dotnet-api/C1.Win.FlexGrid.10/C1.Win.FlexGrid.AllowDraggingEnum.html) property to **Columns** which allows users to re-order the columns by dragging the column headers. |
| Enable Column Filtering | The checkbox toggles the [FlexGrid.AllowFiltering](/componentone/api/win/online-flexgrid/dotnet-api/C1.Win.FlexGrid.10/C1.Win.FlexGrid.Column.AllowFiltering.html) property to enable or disable the filtering on grid columns. |
| VisualStyle | The dropdown lets you choose the built-in visual styles available in the grid. By default, the value is set to **Custom**. |
| Designer... | The option opens [C1FlexGrid Column Editor](/componentone/docs/win/online-flexgrid/quick-start/design-time-support/editors) which allows you to set the properties of each column of the grid. |
| Styles... | The option opens [C1FlexGrid Style Editor](/componentone/docs/win/online-flexgrid/quick-start/design-time-support/editors) which allows you to customize the various pre-defined styles or create the new styles at design time. |
| Display Hidden Columns | The checkbox lets you display or hide grid columns in the design view. Note that this option is NOT associated with the run-time visibility of columns. Hence, even if this checkbox is checked ON, columns with [Visible](/componentone/api/win/online-flexgrid/dotnet-api/C1.Win.FlexGrid.10/C1.Win.FlexGrid.RowCol.IsVisible.html) property set to **False** still remain hidden when the application is run. |
| Column Tasks | The option switches the task menu to [C1FlexGrid Column Tasks menu](/componentone/docs/win/online-flexgrid/quick-start/design-time-support/tasks-menus) which provides options to set the properties for the selected column. |
| About C1FlexGrid | The option displays a dialog box displaying the information such as version of the FlexGrid control. |
| Dock in Parent Container | This option sets the [Dock](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control.dock?view=netframework-4.8) property of the grid to **Fill** which resizes the grid to occupy the whole form space. Clicking the option also switches the text and provides option to **Undock in Parent Container**, which restores the grid to its original size. |

## C1FlexGrid Column Tasks Menu

**C1FlexGrid Column Tasks** menu provides you an easy access to the commonly used properties of grid columns. It also provides options to open editors named **Caption Style** and **Column Style**.

To access the C1FlexGrid Column Tasks menu, double-click header of the column to be configured at design-time. Another way to open C1FlexGrid Column Tasks menu is to click on the smart tag (![Smart tag](https://cdn.mescius.io/document-site-files/images/2f10b028-0ae8-4c29-a102-4d67578c339b/images/smart-tag.png)) in the upper right corner of the grid and then navigate to the **Column Tasks** option. Following table explains various options available through the C1FlexGrid Column Tasks menu:
![C1FlexGrid Tasks Menu](https://cdn.mescius.io/document-site-files/images/2f10b028-0ae8-4c29-a102-4d67578c339b/images/column-tasks-menu.png)

| Option | Description |
| ------ | ----------- |
| Column Caption | The field allows you to specify the value of [Caption](/componentone/api/win/online-flexgrid/dotnet-api/C1.Win.FlexGrid.10/C1.Win.FlexGrid.Column.Caption.html) property which sets text in header cell of the column. |
| Data Field | The dropdown opens a list of available fields in the data source to choose from and sets value of [Name](/componentone/api/win/online-flexgrid/dotnet-api/C1.Win.FlexGrid.10/C1.Win.FlexGrid.Column.Name.html) property of the column. |
| Data Type | The dropdown opens a list of available data types and lets you set the data type of the selected column. This field corresponds to the [DataType](/componentone/api/win/online-flexgrid/dotnet-api/C1.Win.FlexGrid.10/C1.Win.FlexGrid.RowCol.DataType.html) property of the column. |
| Edit Mask | The field lets you specify value of [EditMask](/componentone/api/win/online-flexgrid/dotnet-api/C1.Win.FlexGrid.10/C1.Win.FlexGrid.RowCol.EditMask.html) property which sets mask for the selected column. The ellipsis button on the right side of the field opens the **Input Mask** dialog box where you can select from the list of pre-defined masks. |
| Format String | The field lets you specify the value of [Format](/componentone/api/win/online-flexgrid/dotnet-api/C1.Win.FlexGrid.10/C1.Win.FlexGrid.RowCol.Format.html) property which sets format string to display data value from source. |
| Combo List | The field lets you specify the list of multiple values from which user can choose. The ellipsis button on the right side of the field lets you open the **Combo List** dialog box where you can specify the value options. |
| Allow Sorting | The checkbox toggles the [AllowSorting](/componentone/api/win/online-flexgrid/dotnet-api/C1.Win.FlexGrid.10/C1.Win.FlexGrid.Column.AllowSorting.html) property to enable or disable sorting in the column. By default, sorting is enabled for all columns. |
| Allow Editing | The checkbox toggles the [AllowEditing](/componentone/api/win/online-flexgrid/dotnet-api/C1.Win.FlexGrid.10/C1.Win.FlexGrid.RowCol.AllowEditing.html) property to make the column read-only or editable. By default, editing is enabled for all columns. |
| Allow Resizing | The checkbox toggles the [AllowResizing](/componentone/api/win/online-flexgrid/dotnet-api/C1.Win.FlexGrid.10/C1.Win.FlexGrid.RowCol.AllowResizing.html) property which allows users to adjust the size of column at run time. By default, resizing is enabled for all columns. |
| Allow Dragging | The checkbox toggles the [AllowDragging](/componentone/api/win/online-flexgrid/dotnet-api/C1.Win.FlexGrid.10/C1.Win.FlexGrid.RowCol.AllowDragging.html) property to enable or disable re-ordering of the column at run time. By default, dragging is enabled for all columns. |
| Allow Merging | The checkbox toggles the [AllowMerging](/componentone/api/win/online-flexgrid/dotnet-api/C1.Win.FlexGrid.10/C1.Win.FlexGrid.RowCol.AllowMerging.html) property to enable or disable merging two adjacent column cells having same values. By default, merging is disabled for all columns. |
| Allow Filtering | The dropdown lets you specify the value of [Column.AllowFiltering](/componentone/api/win/online-flexgrid/dotnet-api/C1.Win.FlexGrid.10/C1.Win.FlexGrid.Column.AllowFiltering.html) property and choose the type of filter for each column. The available options are **Default**, **ByValue**, **ByCondition**, **Custom** or **None**. |
| Visible | The checkbox lets you set the visibility of the column in the grid at run time by toggling value of its [Visible](/componentone/api/win/online-flexgrid/dotnet-api/C1.Win.FlexGrid.10/C1.Win.FlexGrid.RowCol.Visible.html) property. |
| Caption Style | The option opens the [Caption Style](/componentone/docs/win/online-flexgrid/quick-start/design-time-support/editors) editor which gives you options to style the text, alignment, background and border for the header cell of column. |
| Column Style | The option opens the [Column Style](/componentone/docs/win/online-flexgrid/quick-start/design-time-support/editors) editor which gives you options to style the text, alignment, background and border for the column text. |
| C1FlexGrid Tasks | The option switches the task menu to [C1FlexGrid Tasks](/componentone/docs/win/online-flexgrid/quick-start/design-time-support/tasks-menus) menu which provides options to set the properties for the entire grid. |
| Dock in Parent Container | The option sets the [Dock](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control.dock?view=netframework-4.8) property of the grid to **Fill** which resizes the grid to occupy the whole form. Clicking the option also switches the text and provides option to **Undock in Parent Container**, which restores the grid to its original size by setting the **Dock** property to **None**. |

## See Also

**Documentation**

[Row](/componentone/docs/win/online-flexgrid/)

[Column](/componentone/docs/win/online-flexgrid/)