FlattenerGrid (re)honors IDL column labels as default collab/senator/flattener-grid-reload-columns-post-idl
authorBill Erickson <berick@esilibrary.com>
Mon, 2 Apr 2012 14:19:02 +0000 (10:19 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Mon, 2 Apr 2012 14:37:31 +0000 (10:37 -0400)
commit575a7408d7511c131cb7a6337a64f2103d4a2db5
treef8cdb065abb25f22793e5eb07362fa1b7ccf57c5
parent7cef76169d6c6f6f4ae3e6ea165d672783b34139
FlattenerGrid (re)honors IDL column labels as default

Linking the GridColumnPicker to FlattenerGrid killed the ability for the
FlattenerGrid to fall back to the IDL column label when no label was
defined in the markup.  This change adds a reloadStructure operation to
GridColumnPicker.  FlattenerGrid uses this to pass the updated column
labels (and any other changes) to gridcolumnpicker, which then updates
the grid display to match.

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