GridColumnPicker mult-column support selectors
authorBill Erickson <berick@esilibrary.com>
Wed, 28 Mar 2012 15:51:19 +0000 (11:51 -0400)
committerBill Erickson <berick@esilibrary.com>
Wed, 28 Mar 2012 15:51:19 +0000 (11:51 -0400)
commit45e34bd9ce08220d6566dffb9a4b033ee363a18d
treefb101164022680248e19035dc857629a520c7a63
parent557fdad4013436c7d94e8479524f638bdb737cbe
GridColumnPicker mult-column support selectors

Adds a number spinner to each sortable column in the grid column picker.
A Sort Priority of '0' means no sorting is applied, a priority of 1 is
highest priority, 2 is second, etc.

Adds support for an onSortchange handler, which is passed the list of
fields to sort in order.

Adds support for an onLoad handler, which is called after the initial
retrieval of the user persist settings.  This is important for the
initial grid load, which may need to wait until after the sort columns
are known (to avoid re-fetching on the initial load).

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/web/js/dojo/openils/widget/GridColumnPicker.js