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, 28 May 2019 14:44:12 +0000 (10:44 -0400)
commit55b5d2801a8dd503ebedf03ab42df1ba24af4d06
tree0075a222b35586cbbfaacd30622ce197f26e453f
parentd93cf0ed551f1ec76e599015366bc5877040a51e
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