AutoGrid column picker sort handler
authorBill Erickson <berick@esilibrary.com>
Wed, 28 Mar 2012 15:53:31 +0000 (11:53 -0400)
committerBill Erickson <berick@esilibrary.com>
Wed, 28 Mar 2012 15:53:31 +0000 (11:53 -0400)
commit91fe7b6186ca6e2df41e82377e15f2cb895c758d
tree1421bb5d62626e1e39aec341f19a4da0706e3265
parent45e34bd9ce08220d6566dffb9a4b033ee363a18d
AutoGrid column picker sort handler

Adds a default sort handler for column picker onSortChange events.  The
handler simply reloads the grid with the new columns and assumes all
columns are fields on the base class.

Also supports a user custom onSortChange handler for more complicated
situations.

Initial grid load now happens after the column picker loads when the
column picker is enabled to sure the grid only loads once on the initial
load.

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