LP1821382 Grid showDeclaredFieldsOnly option; sort repair. user/berick/lp1821382-ang-catalog-holdings-maint
authorBill Erickson <berickxx@gmail.com>
Fri, 29 Mar 2019 16:47:27 +0000 (16:47 +0000)
committerBill Erickson <berickxx@gmail.com>
Fri, 29 Mar 2019 17:35:08 +0000 (13:35 -0400)
commit2eafd7ea04f3c2264cc8aa948aac85e46b7c709d
treedec447b7d4bb0220c848053016cc1c5f39ea916f
parent6d6db2ffca157be3a468fa3ef312e42a4d473c91
LP1821382 Grid showDeclaredFieldsOnly option; sort repair.

Adds a @Input() showDeclaredFieldsOnly option which tells the grid to
avoid showing auto-generated columns by default and only show those
declared in the markup.

Also repairs a grid column sorting/insert bug where declared columns
would be displayed in the wrong order when mixed with auto columns.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/eg2/src/app/share/grid/grid.component.ts
Open-ILS/src/eg2/src/app/share/grid/grid.ts