LP1821382 Grid showDeclaredFieldsOnly option; sort repair.
authorBill Erickson <berickxx@gmail.com>
Fri, 29 Mar 2019 16:47:27 +0000 (16:47 +0000)
committerBill Erickson <berickxx@gmail.com>
Tue, 2 Apr 2019 21:01:08 +0000 (17:01 -0400)
commitcc5746f0e8b7dd940f9cad28bcbab99ad63d8b50
treee40a2c6cd0502de52007ee6d9ed1f6a9b9e82452
parent0525fad4c3bc93b24066919b1140c48529176852
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