]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP1821382 Grid showDeclaredFieldsOnly option; sort repair.
authorBill Erickson <berickxx@gmail.com>
Fri, 29 Mar 2019 16:47:27 +0000 (16:47 +0000)
committerDan Wells <dbw2@calvin.edu>
Wed, 29 May 2019 19:30:51 +0000 (15:30 -0400)
commit28f955619a2d2d4665ff31c8efd2918a0e7532dd
tree53d7434e7481e4a897c639ebf22918fce08df417
parent311d189c820696609dd70fc63d626eee98221d39
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>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/src/eg2/src/app/share/grid/grid.component.ts
Open-ILS/src/eg2/src/app/share/grid/grid.ts