From: Bill Erickson Date: Fri, 27 Apr 2018 19:35:28 +0000 (-0400) Subject: LP#1626157 material table PoC X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=1b5951ff3f16b8b49f411b30b54d409c01d494ed;p=working%2FEvergreen.git LP#1626157 material table PoC Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/eg2/src/app/staff/sandbox/sandbox.component.html b/Open-ILS/src/eg2/src/app/staff/sandbox/sandbox.component.html index d86aac6b36..1162d35b82 100644 --- a/Open-ILS/src/eg2/src/app/staff/sandbox/sandbox.component.html +++ b/Open-ILS/src/eg2/src/app/staff/sandbox/sandbox.component.html @@ -87,52 +87,49 @@ -
- - - - - - - - - - - - - - - - - - - - Name - {{row.name}} - - - - State - {{row.state}} - - - - Stuff - {{row.stuff}} - - - - {{col.label}} - {{col.cell(row)}} - - - + + + + + + + + + + + + + + + + + + Name + {{row.name}} + + + + State + {{row.state}} + + + + Stuff + {{row.stuff}} + + + + {{col.label}} + {{col.cell(row)}} + + diff --git a/Open-ILS/src/eg2/src/app/staff/sandbox/sandbox.component.ts b/Open-ILS/src/eg2/src/app/staff/sandbox/sandbox.component.ts index 1e40cba149..80dff809d3 100644 --- a/Open-ILS/src/eg2/src/app/staff/sandbox/sandbox.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/sandbox/sandbox.component.ts @@ -1,5 +1,6 @@ import {Component, OnInit, ViewChild, Input, TemplateRef} from '@angular/core'; import {EgProgressDialogComponent} from '@eg/share/dialog/progress.component'; +import {EgIdlService} from '@eg/core/idl.service'; import {EgToastService} from '@eg/share/toast/toast.service'; import {EgStringService} from '@eg/share/string/string.service'; import {Observable} from 'rxjs/Rx'; @@ -84,6 +85,10 @@ export class EgSandboxComponent implements OnInit { logClick(row) { console.log('clicked on row ' + row.name); } + logDblClick(row) { + console.log('dblclicked on row ' + row.name); + } + rowIsSelected(row): boolean { // grid row return this.selection.selected && this.selection.selected.filter(r => r.id == row.id).length > 0;