Changes

Multi Select (UBIK Client)

1 byte removed, Thursday at 13:56
The Multi Select mode aims to improve the efficiency of performing actions on a large number of selected objects (XAMARIN Mobile & UWP), as well as changing property values for a large number of selected objects (UWP only). Editing property values for a large number of objects was known in some previous UWP versions as Mass Editing. Currently, the Multi Select mode is available for lists of children (including task and query objects) and documents.
</tab>
<tab name="XAMARINMobile">
The Multi Select mode gets enabled by holding (long tapping) an item. As soon as it is active, a panel on the bottom gets displayed.
</tab>
</tab>
<tab name="XAMARINMobile">The Multi Select panel in the XAMARIN Mobile client is located at the bottom.
It displays the count of selected items, command buttons for Copy, Discard, Delete and Download actions and a close button to deactivate the Multi Select mode.
</tab>
== Selection ==
[[File:UBIKCPLXUI_MultiSelect1.JPG|thumb|Multi Select mode (XAMARINMobile)]]
By default, all objects are deselected when the Multi Select Mode gets invoked. Items can be selected by tapping on them. Therefore, navigating into an object in the list by tapping on it is no longer available. To be able to navigate again, the Multi Select mode needs to be turned off.
To select or deselect all items, <code>ListViewModel.BulkOperation.SelectAllCommand</code> or <code>ListViewModel.BulkOperation.DeselectAllCommand</code> can be used as command binding. These options are currently not presented in the standard XAMARIN Mobile UI.
In UWP, there are some additional selection related options besides "Select All" and "Deselect All". Selecting or deselecting a bunch of items in a row can be achieved by holding shift and first clicking on the first required item and then clicking on the last required item.
* Revert local changes (*)
Actions marked with (*) are currently not presented in the standard XAMARIN Mobile UI. But they can be easily customized in XAML code with the following commands.
=== Copy and paste ===
To copy multiple branches, the <code>ListViewModel.BulkOperation.CopyBranchesCommand</code> can be used without any additional CommandParameters.
The <code>ContentViewModel.PasteBranchCommand</code> already supports pasting multiple branches, therefore, it can be used to paste the previously copied objects. To clarify, the UI (XAMARIN Mobile & UWP) does not include pasting content into the selected objects, rather pasting multiple, previously copied branches into one object. This can be done eg. via the Paste option in the Context Menu.
=== Download branches ===
To avoid such a situation, the multi select feature should be turned on from the filtered lists instead. This means the following types:
* UWP: ListCollectionView;
* XamarinMobile: SfDataSourceExt.
Here's also an example of multi select related XAML code adapted for a filtered list.
</tab>
<tab name="Mobile(Xamarin)">
<source lang = "xml">
<Grid
[[Category:Client|Multi Select (UBIK Client)]]
[[Category:Mobile|Multi Select (UBIK Client)]]
[[Category:Version 4.3|Multi Select (UBIK Client)]]
[[Category:WinX|Mass Edit (UBIK WinX)]]
[[Category:XAML|Multi Select (UBIK Client)]]
[[Category:Mobile|Multi Select (UBIK Client)]]
561
edits