webstaff: teach egGrid how to disable multiselect
authorGalen Charlton <gmc@esilibrary.com>
Fri, 17 Jul 2015 19:22:36 +0000 (19:22 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 17 Aug 2015 22:56:54 +0000 (22:56 +0000)
commit5a9b737cafc8c3657d0029166d4a7b441ab43689
treefe568d1db43735740ab82308021d703395037f82
parent027f7f088d84fa5b1dc161cb7352910e288be9bc
webstaff: teach egGrid how to disable multiselect

For grids where it makes sense to allow only one row to be
selected at a time, egGrid now supports a "-multiselect"
feature that:

  * disables generation of the checkbox column
  * disables control-/shift/command-click to multiselect

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/templates/staff/share/t_autogrid.tt2
Open-ILS/web/js/ui/default/staff/services/grid.js