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?($ Inject {:services #js [Filter]})
Thanks
It seems that interface is like condition for obligation use that property