Type aliases
CustomData
CustomData<T>: function
Type parameters
Type declaration
-
-
Parameters
-
-
dataValue: string
-
row: T
-
data: T[]
-
rowIndex: number
-
Returns string
CustomFilter
CustomFilter<T>: function
Type parameters
Type declaration
-
-
Parameters
-
data: T[]
-
row: T
-
-
index: number
-
Returns boolean
CustomRowColStyle
CustomRowColStyle<T>: function
Type parameters
Type declaration
-
-
Parameters
-
data: T[]
-
row: T
-
-
isOver: boolean
-
isSepra: boolean
-
dataRowCol: string
CustomSort
CustomSort<T>: function
Type parameters
Type declaration
-
- (data: T[], rowA: T, rowB: T, a: number, b: number): number
-
Parameters
-
data: T[]
-
rowA: T
-
rowB: T
-
a: number
-
b: number
Returns number
GetLookup
GetLookup<T>: function
Type parameters
LookupValues
LookupValues: string[] | Array<object>
RenderValue
RenderValue<T>: function
Type parameters
Type declaration
-
- (canvasTable: CustomCanvasTable, context: ICanvasContext2D, rowIndex: number, col: ICanvasTableColumnConf<T>, left: number, top: number, right: number, bottom: number, width: number, height: number, r: number, dataValue: string, row: T, data: T[]): void
-
Parameters
-
-
-
rowIndex: number
-
-
left: number
-
top: number
-
right: number
-
bottom: number
-
width: number
-
height: number
-
r: number
-
dataValue: string
-
row: T
-
data: T[]
Returns void
function pointer to custom sort
data Same array that was sent to CanvasTable, this array is not modified
row A
row B
if rowA > rowB then return 1 if rowA < rowB then return -1 if rowA == rowB then return 0