sridhars711 / dynatree

Automatically exported from code.google.com/p/dynatree
0 stars 0 forks source link

Prevent selection change #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
There should be a way to prevent selection changes.
Use case:
 * The tree is used to select from a list of items.
 * A details-pane shows details of the selected item and allows editing
 * While editing, selection changes should be blocked (or the user should
be asked if he wants to save the changes before the selecion changes).

Possible solution:
a new event 'querySelect', that is generated before the unselect/select
sequence. If 'false' is returned, the selection is not changed.

Original issue reported on code.google.com by moo...@wwwendt.de on 14 Sep 2008 at 7:30

GoogleCodeExporter commented 9 years ago
Let onQuerySelect return 'false' to prevent selections

Original comment by moo...@wwwendt.de on 14 Jan 2009 at 8:01

GoogleCodeExporter commented 9 years ago
considered verified

Original comment by moo...@wwwendt.de on 17 Jul 2012 at 4:12