Posts

Showing posts with the label multi select

Selecting in a List using WinJS 4.0 Preview

Image
List is a great way to show all the items you have and often you want to give the user the opportunity to Select one, multiple items using mouse/keyboard or touch on Windows 8.1 OS, or providing a control to place check marks for selection. Here is a selection of code from WinJS namespace: WinJS.Namespace.define("Sample.ListView", {     modes: {         readonly: {             name: 'readonly',             selectionMode: WinJS.UI.SelectionMode.none,             tapBehavior: WinJS.UI.TapBehavior.none         },         single: {             name: 'single',             selectionMode: WinJS.UI.Sele...