Opened 8 years ago

Closed 8 years ago

#7937 closed bug (notabug)

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:
Blocked by: Blocking:

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 (1)

comment:1 Changed 8 years ago by rdworth

Resolution: invalid
Status: newclosed

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.