-import {Component, Input, OnInit, Host} from '@angular/core';
-import {GridContext, GridColumn, GridColumnSet,
- GridDataSource} from './grid';
+import {Component, Input, OnInit} from '@angular/core';
+import {GridContext, GridColumn, GridColumnSet} from './grid';
@Component({
selector: 'eg-grid-column-width',
import {Component, Input, OnInit, Host, TemplateRef} from '@angular/core';
-import {GridColumn, GridColumnSet} from './grid';
+import {GridColumn} from './grid';
import {GridComponent} from './grid.component';
@Component({
import {Component, Input, OnInit, QueryList, ViewChildren} from '@angular/core';
-import {GridContext, GridColumn, GridRowSelector,
- GridColumnSet, GridDataSource} from './grid';
+import {GridContext, GridColumn} from './grid';
import {IdlObject} from '@eg/core/idl.service';
-import {ComboboxComponent,
- ComboboxEntry} from '@eg/share/combobox/combobox.component';
+import {ComboboxComponent} from '@eg/share/combobox/combobox.component';
import {DateSelectComponent} from '@eg/share/date-select/date-select.component';
import {OrgSelectComponent} from '@eg/share/org-select/org-select.component';
import {OrgService} from '@eg/core/org.service';
if ( (col.filterOperator !== 'null') && (col.filterOperator !== 'not null') &&
(!col.filterValue || col.filterValue === '') &&
- (col.filterValue != '0') ) {
+ (col.filterValue !== '0') ) {
// if value is empty and we're _not_ checking for null/not null, clear
// the filter
delete this.context.dataSource.filters[col.name];
} else {
let op: string = col.filterOperator;
let val: string = col.filterValue;
- const name: string = col.name;
if (col.filterOperator === 'null') {
op = '=';
val = null;
-import {Component, Input, OnInit, Host} from '@angular/core';
+import {Component, Input, OnInit} from '@angular/core';
import {DomSanitizer, SafeUrl} from '@angular/platform-browser';
-import {Pager} from '@eg/share/util/pager';
-import {GridColumn, GridColumnSet, GridToolbarButton,
- GridToolbarAction, GridContext, GridDataSource} from '@eg/share/grid/grid';
+import {GridToolbarButton, GridToolbarAction, GridContext} from '@eg/share/grid/grid';
import {GridColumnWidthComponent} from './grid-column-width.component';
import {GridPrintComponent} from './grid-print.component';
import {Component, Input, Output, OnInit, AfterViewInit, EventEmitter,
- OnDestroy, HostListener, ViewEncapsulation, QueryList, ViewChildren} from '@angular/core';
-import {Subscription} from 'rxjs';
+ OnDestroy, ViewEncapsulation} from '@angular/core';
import {IdlService} from '@eg/core/idl.service';
import {OrgService} from '@eg/core/org.service';
import {ServerStoreService} from '@eg/core/server-store.service';
import {FormatService} from '@eg/core/format.service';
import {GridContext, GridColumn, GridDataSource, GridRowFlairEntry} from './grid';
-import {GridFilterControlComponent} from './grid-filter-control.component';
/**
* Main grid entry point.
// In some contexts (template checkboxes) the value for an index is
// set to false to deselect instead of having it removed (via deselect()).
// NOTE GridRowSelector has no knowledge of when a row is no longer
- // present in the grid. Use GridContext.getSelectedRows() to get
+ // present in the grid. Use GridContext.getSelectedRows() to get
// list of selected rows that are still present in the grid.
selected() {
return Object.keys(this.indexes).filter(