Selection
The component supports something like checkbox list.
The component supports something like checkbox list.
Configuration:
remember {Boolean}remembers selection when thedatasourceis changed (default:true)datasource {String}a path to the datasource (default: empty)key {String}anidentifierkey name for the datasource (default:id)attr {String}adata-[attr]for storing ofidentifier(default:id)selector {String}a jQuery selector for elements (default:.selection)class {String}selected class (default:selected)dblclickselectall {Boolean}enables reverse selection after double-click (default:true)cancel {String}a path to the variable (if the variable is changed then the selection is resetted, default: empty)- NEW:
click {String}a selector for capturing of click (default:.selection)
Methods:
component.selectall()selects all itemscomponent.selectnone()selects nonecomponent.selecttoggle()reverses selection




