Skip to main content

Search and Top Navigation

#7937 closed bug (notabug)

Opened December 07, 2011 08:13AM UTC

Closed December 07, 2011 11:29AM UTC

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.

Attachments (0)
Change History (1)

Changed December 07, 2011 11:29AM UTC by rdworth comment:1

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