# FOLDERLISTINGITEMGROUPINGMODEFLAGS

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Messages](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.FOLDERLISTINGITEMGROUPINGMODEFLAGS/

FolderListingItemGroupingMode flags.

- **Full name:** `MFiles.FOLDERLISTINGITEMGROUPINGMODEFLAGS`
- **Proto file:** [`mfiles/enums.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/enums.proto)

<a id="fields"></a>

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-all"></a>`all` | `bool` | 1 | Specifies all flags set; Including any future flags. |
| <a id="f-objects_by_type"></a>`objects_by_type` | `bool` | 2 | Group the listing objects by object type. |
| <a id="f-folders_by_type"></a>`folders_by_type` | `bool` | 3 | Group the view and folder items by their types. |

<a id="used-in-fields"></a>

## Used in fields

- [`FolderListingUIState.item_grouping_mode`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.FolderListingUIState/index.md#f-item_grouping_mode): The listing item grouping mode.
