helix

https://github.com/Lokeh/helix
fabrao 2020-09-09T16:47:07.046100Z

Hello all, I have this ->

import { Filter, FilterSettingsModel, GridComponent, IFilter, Inject } from '@syncfusion/ej2-react-grids'
with
export default class App extends React.Component<{}, {}>{
public Filter : IFilter = {
    type: 'CheckBox'
  }
  public render() {
      return <GridComponent dataSource={data} filterSettings={this.FilterOptions}
            allowFiltering={true} height={273}>
          <ColumnsDirective>
              <ColumnDirective field='OrderID' width='100' textAlign="Right"/>
              <ColumnDirective field='CustomerID' filter={this.Filter} width='100'/>
              <ColumnDirective field='EmployeeID' width='100' textAlign="Right"/>
              <ColumnDirective field='Freight' width='100' format="C2" textAlign="Right"/>
              <ColumnDirective field='ShipCountry' width='100'/>
          </ColumnsDirective>
          <Inject services={[Filter]} />
      </GridComponent>
  }
}
How do I use services={[Filter]} with CLJS?

lilactown 2020-09-09T17:07:20.046800Z

($ Inject {:services #js [Filter]})

fabrao 2020-09-09T17:09:23.047100Z

Thanks

fabrao 2020-09-09T17:32:41.047900Z

It seems that interface is like condition for obligation use that property