Skip to main content

Bug Tracker

Side navigation

#1137 closed enhancement (wontfix)

Opened April 20, 2007 01:27PM UTC

Closed March 31, 2008 01:28AM UTC

Ability to make ordered selections in Selectable plugin

Reported by: Luca Lenardi Owned by: stefan
Priority: major Milestone:
Component: interface Version: 1.0.4
Keywords: selectable Cc:
Blocked by: Blocking:
Description

Ordered selections could be useful for multi rows and multi cells selections on tables (e.g. calendar start -> end selections).

This version of Interface Selectable plugin, let users define whether or not selections have to be ordered, simply by passing an 'ordered: true|false' value to Selectable().

By default Selectable behaves as usual.

Example:

$('#select-wrapper').Selectable( {
  accept: 'selectableitem,
  opacity: 0.2,
  selectedclass: 'selecteditem',
  helperclass: 'selecthelper',
  ordered: true,
  onselect: function(serial) {
    alert(serial.hash);
  }
});
Attachments (1)
Change History (1)

Changed March 31, 2008 01:28AM UTC by scott.gonzal comment:1

description: Ordered selections could be useful for multi rows and multi cells selections on tables (e.g. calendar start -> end selections).\ \ This version of Interface Selectable plugin, let users define whether or not selections have to be ordered, simply by passing an 'ordered: true|false' value to Selectable().\ By default Selectable behaves as usual.\ \ Example:\ {{{\ $('#select-wrapper').Selectable( {\ accept: 'selectableitem,\ opacity: 0.2,\ selectedclass: 'selecteditem',\ helperclass: 'selecthelper',\ ordered: true,\ onselect: function(serial) {\ alert(serial.hash);\ }\ });\ }}}Ordered selections could be useful for multi rows and multi cells selections on tables (e.g. calendar start -> end selections). \ \ This version of Interface Selectable plugin, let users define whether or not selections have to be ordered, simply by passing an 'ordered: true|false' value to Selectable(). \ By default Selectable behaves as usual. \ \ Example: \ {{{ \ $('#select-wrapper').Selectable( { \ accept: 'selectableitem, \ opacity: 0.2, \ selectedclass: 'selecteditem', \ helperclass: 'selecthelper', \ ordered: true, \ onselect: function(serial) { \ alert(serial.hash); \ } \ }); \ }}}
resolution: → wontfix
status: newclosed

Interface is no longer supported; consider switching to jQuery UI.