<core:FragmentDefinition
	xmlns="sap.m"
	xmlns:core="sap.ui.core">
	<ViewSettingsDialog
		title="Grouping, Sorting and Filtering of Items"
		confirm="onViewSettingsConfirm">
		<sortItems>
			<ViewSettingsItem text="File Name" key="fileName" />
			<ViewSettingsItem text="Uploaded By" key="uploadedBy" />
			<ViewSettingsItem text="File Size" key="fileSize" />
			<ViewSettingsItem text="Status" key="status" />
		</sortItems>
		<groupItems>
			<ViewSettingsItem text="Uploaded By" key="uploadedBy" />
			<ViewSettingsItem text="Mime Type" key="mimeType" />
			<ViewSettingsItem text="Version" key="version" selected="true" />
		</groupItems>
		<filterItems>
			<ViewSettingsFilterItem
				text="File Size"
				key="fileSize"
				multiSelect="true">
				<items>
					<ViewSettingsItem text="Less than 100 KB" key="fileSize LT 102400" />
					<ViewSettingsItem text="Between 100 KB and 1 MB" key="fileSize BT 102400 1048576" />
					<ViewSettingsItem text="More Than 1 MB" key="fileSize GT 1048576" />
				</items>
			</ViewSettingsFilterItem>
			<ViewSettingsFilterItem
				text="Version"
				key="version"
				multiSelect="true">
				<items>
					<ViewSettingsItem text="1" key="version EQ 1" />
					<ViewSettingsItem text="2" key="version EQ 2" />
					<ViewSettingsItem text="Higher Than 2" key="version GT 2" />
				</items>
			</ViewSettingsFilterItem>
			<ViewSettingsFilterItem
				text="Status"
				key="status"
				multiSelect="true">
				<items>
					<ViewSettingsItem text="None" key="status EQ None" />
					<ViewSettingsItem text="Error" key="status EQ Error" />
					<ViewSettingsItem text="Warning" key="status EQ Warning" />
					<ViewSettingsItem text="Success" key="status EQ Success" />
				</items>
			</ViewSettingsFilterItem>
		</filterItems>
	</ViewSettingsDialog>
</core:FragmentDefinition>
