GridColumnPicker support column ordering, cleanup
authorBill Erickson <berick@esilibrary.com>
Tue, 27 Mar 2012 13:38:20 +0000 (09:38 -0400)
committerBill Erickson <berick@esilibrary.com>
Tue, 27 Mar 2012 15:52:41 +0000 (11:52 -0400)
commita95a62f7bdad50f74079a1247e5c3bdd6870515a
tree386d55accfa1669c51dd53a31b41eda8c13afe2f
parent16b2c6b95107c62b5828e959fd3c984ca9b3bebb
GridColumnPicker support column ordering, cleanup

This adds support for detecting and saving state information for
re-ordered grid columns.  Also, with each instantiation of the column
picker dialog (via control-click), the dialog is re-rendered to match
the order of columns in the grid in case they have moved.

ColumnPicker now produces a useful console message when the user setting
required for persistance does not exist.

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