Ticket #7937 (closed bug: notabug)

Opened 18 months ago

Last modified 18 months ago

how to disable multiple selecting in jquery ui selectable display as grid

Reported by: thulasiram.eee Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.selectable Version: 1.8.16
Keywords: Cc:
Blocking: Blocked by:

Description

how to disable multiple selecting in jquery ui selectable display as grid.

i need only one has to be selected. how to set multiple selecting option has false.

Change History

comment:1 Changed 18 months ago by rdworth

  • Status changed from new to closed
  • Resolution set to invalid

The selectable interaction is designed to allow you to drag a lasso with the mouse to select multiple elements. We've never found any reference interaction (desktop or web) that allows for dragging a lasso with the mouse but limits the selection to one element. That doesn't mean the requirement is wrong, just that it isn't met by the design of this widget.

Also, this requirement is met by 4 lines of code. See  http://jsbin.com/efopew

Note: See TracTickets for help on using tickets.