JavaScript/jQuery FilterBuilder - filterOperationDescriptions
Type:
The following code sample illustrates how to set this property:
jQuery
index.js
$(function() { $("#filterBuilderContainer").dxFilterBuilder({ // ... filterOperationDescriptions: { startsWith: "Begins with" } }); });
Angular
app.component.html
app.module.ts
<dx-filter-builder ... > <dxo-filter-operation-descriptions startsWith="Begins with"> </dxo-filter-operation-descriptions> </dx-filter-builder>
import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { AppComponent } from './app.component'; import { DxFilterBuilderModule } from 'devextreme-angular'; @NgModule({ declarations: [ AppComponent ], imports: [ BrowserModule, DxFilterBuilderModule ], providers: [ ], bootstrap: [AppComponent] }) export class AppModule { }
Vue
App.vue
<template> <DxFilterBuilder ... > <DxFilterOperationDescriptions starts-with="Begins with" /> </DxFilterBuilder> </template> <script> import 'devextreme/dist/css/dx.light.css'; import DxFilterBuilder, { DxFilterOperationDescriptions } from 'devextreme-vue/filter-builder'; export default { components: { DxFilterBuilder, DxFilterOperationDescriptions }, // ... } </script>
React
App.js
import 'devextreme/dist/css/dx.light.css'; import FilterBuilder, { FilterOperationDescriptions } from 'devextreme-react/filter-builder'; export default function App() { return ( <FilterBuilder ... > <FilterOperationDescriptions startsWith="Begins with" /> </FilterBuilder> ); }
See Also
- fields[].filterOperations
Feedback