Bug Tracker

Opened 13 years ago

Closed 12 years ago

#1138 closed enhancement (wontfix)

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 (last modified by scott.gonzal)

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)

iselect.ordered.js (13.7 KB) - added by Luca Lenardi 13 years ago.

Download all attachments as: .zip

Change History (2)

Changed 13 years ago by Luca Lenardi

Attachment: iselect.ordered.js added

comment:1 Changed 12 years ago by scott.gonzal

Description: modified (diff)
Resolution: wontfix
Status: newclosed

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

Note: See TracTickets for help on using tickets.