Skip to content

Instantly share code, notes, and snippets.

@NickersF
Created January 25, 2024 16:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NickersF/71b5c39e2a3612a980e5ec9c7fbcadc7 to your computer and use it in GitHub Desktop.
Save NickersF/71b5c39e2a3612a980e5ec9c7fbcadc7 to your computer and use it in GitHub Desktop.
Custom Kendo DataSource Filter Object
// Construct a filter object and apply it to the grid data source filters
let currentColumnFilter = {
field: currentKeyField,
operator: filterMenuOperatorDDInstance.value(),
value: filterMenuKeyFieldDDInstance.value()
};
gridInstance.dataSource.filter(currentColumnFilter);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment