DataProviderChannelSettings
Description
A DataProviderChannelSettings
is an interface that exposes properties to define the characteristics of a DataProviderChannel
.
Properties
Property |
Type |
Description |
---|---|---|
filterBy |
|
The filter description to apply on the data source. |
groupBy |
The group descriptions to apply on the data source. The first item in the array (index 0), corresponds to the first group level, the second item (index 1), if there is one, corresponds to the second group level, etc. |
|
sortBy |
The sort descriptions to apply on the data source. The first item in the array (index 0), corresponds to the first sort to apply, the second item (index 1), if there is one, corresponds to the next sort to apply, etc. |
|
obtainFilterOperator |
A function that takes a |
|
stats |
The stat descriptions to apply on the data source. |
(1) The usefulness of this function is that the FilterOperator
that it returns has a predicate property that is a function that evaluates if a value and an operand respect the operator. For example, for a FilterOperator
that represents the equal operator, the predicate function will return true if the two values that are passed in parameter are equal, otherwise it will return false.