interface ValueFormater { datasource: Datasource<any>; fromSource(value,
type,
attribute,
isFilter): any; fromSourceDisplay(value,
type,
attribute,
isFilter): any; fromSourceGrouping(value,
type,
attribute,
isFilter): any; placeholder(type,
_attribute,
isFilter): string; toFilter(value,
type,
attribute,
isFilter): any; toSource(value,
type,
attribute,
isFilter): any; } Properties
datasource
Methods
fromSource
- fromSource(value, type, attribute, isFilter): any
Parameters
value: any
attribute: string
isFilter: boolean
Returns any
fromSourceDisplay
- fromSourceDisplay(value, type, attribute, isFilter): any
Parameters
value: any
attribute: string
isFilter: boolean
Returns any
fromSourceGrouping
- fromSourceGrouping(value, type, attribute, isFilter): any
Parameters
value: any
attribute: string
isFilter: boolean
Returns any
placeholder
- placeholder(type, _attribute, isFilter): string
Parameters
_attribute: string
isFilter: boolean
Returns string
toFilter
- toFilter(value, type, attribute, isFilter): any
Parameters
value: any
attribute: string
isFilter: boolean
Returns any
toSource
- toSource(value, type, attribute, isFilter): any
Parameters
value: any
attribute: string
isFilter: boolean
Returns any
used by grid to insert in edit cells/filter