projects/common/data/data-source/smart-data-source.ts
import { CngxSmartDataSourceOptions } from '@cngx/common/data'
Optional customization for CngxSmartDataSource.
function
Custom full-text search function. Receives an item and the current search term; return true to keep the item. Defaults to a case-insensitive match across all primitive-valued properties.
true
Custom sort comparator. Receives two items, the active field key, and direction. Defaults to a locale-aware string comparison.