diff --git a/projects/poweredsoft/ngx-bootstrap/src/lib/grid-filter/number-filter/number-filter.component.html b/projects/poweredsoft/ngx-bootstrap/src/lib/grid-filter/number-filter/number-filter.component.html index 0b4e9b1..20d809a 100644 --- a/projects/poweredsoft/ngx-bootstrap/src/lib/grid-filter/number-filter/number-filter.component.html +++ b/projects/poweredsoft/ngx-bootstrap/src/lib/grid-filter/number-filter/number-filter.component.html @@ -1 +1,57 @@ -
number-filter works!
+Do you want to confirm?
diff --git a/src/app/grid-filter-demo/grid-filter-demo/grid-filter-demo.component.scss b/src/app/grid-filter&sorting-demo/grid-filter-demo/grid-filter-demo.component.scss similarity index 100% rename from src/app/grid-filter-demo/grid-filter-demo/grid-filter-demo.component.scss rename to src/app/grid-filter&sorting-demo/grid-filter-demo/grid-filter-demo.component.scss diff --git a/src/app/grid-filter-demo/grid-filter-demo/grid-filter-demo.component.ts b/src/app/grid-filter&sorting-demo/grid-filter-demo/grid-filter-demo.component.ts similarity index 82% rename from src/app/grid-filter-demo/grid-filter-demo/grid-filter-demo.component.ts rename to src/app/grid-filter&sorting-demo/grid-filter-demo/grid-filter-demo.component.ts index a232ed8..30b4e00 100644 --- a/src/app/grid-filter-demo/grid-filter-demo/grid-filter-demo.component.ts +++ b/src/app/grid-filter&sorting-demo/grid-filter-demo/grid-filter-demo.component.ts @@ -1,5 +1,5 @@ import { Component, OnInit } from '@angular/core'; -import { IDataSource } from '@poweredsoft/data'; +import { IDataSource, ISimpleFilter } from '@poweredsoft/data'; import { IMerchant } from 'src/app/data/services/IMerchant'; import { MerchantService } from 'src/app/data/services/merchant.service'; import { ConfirmModalService } from '@poweredsoft/ngx-bootstrap'; @@ -32,9 +32,5 @@ export class GridFilterDemoComponent implements OnInit { } - filterMerchants(event){ - this.somefilter = event; - this.merchantDataSource.filters[0]=this.somefilter; - this.merchantDataSource.refresh(); - } + }